make the json minification spec explicit

This commit is contained in:
Ben Balter 2017-08-23 16:44:33 -04:00
parent 792abad221
commit 855ef7b469
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 1 additions and 2 deletions

View File

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