From 792abad221bdf41d125b2949fbff1d898813e69b Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Wed, 23 Aug 2017 16:42:05 -0400 Subject: [PATCH] make the json minification test less order dependent --- spec/jekyll_seo_tag_integration_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/jekyll_seo_tag_integration_spec.rb b/spec/jekyll_seo_tag_integration_spec.rb index 81278b8..78b6fc0 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -329,9 +329,7 @@ EOS end it "minifies JSON-LD" do - expected = <<-EOS.strip -{"name":null,"description":"description","author":null,"@type":"BlogPosting" -EOS + expected = '{"name":null,"description":"description"' expect(output).to match(expected) end end