diff --git a/spec/jekyll_seo_tag_integration_spec.rb b/spec/jekyll_seo_tag_integration_spec.rb index 78b6fc0..016fdae 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -329,8 +329,7 @@ EOS end it "minifies JSON-LD" do - expected = '{"name":null,"description":"description"' - expect(output).to match(expected) + expect(output).to_not match(/{.*?\s.*?}/) end end end