make the json minification test less order dependent

This commit is contained in:
Ben Balter 2017-08-23 16:42:05 -04:00
parent 5219dd13e6
commit 792abad221
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 1 additions and 3 deletions

View File

@ -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