Skip to content

Commit

Permalink
Merge pull request #5821 from samvera/jsonld-whitespace-fix
Browse files Browse the repository at this point in the history
Remove whitespace from jsonld spec
  • Loading branch information
dlpierce authored Aug 30, 2022
2 parents b1e7f19 + e103936 commit 582edab
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions spec/presenters/hyrax/work_show_presenter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,7 @@
subject { presenter.export_as_jsonld }

it do
is_expected.to eq '{
"@context": {
"dc": "http://purl.org/dc/terms/"
},
"@id": "http://example.com/1",
"dc:title": "Test title"
}'
is_expected.to eq '{"@context":{"dc":"http://purl.org/dc/terms/"},"@id":"http://example.com/1","dc:title":"Test title"}'
end
end
end
Expand Down

0 comments on commit 582edab

Please sign in to comment.