Skip to content

Commit

Permalink
Update tests to work with latest version of IIIF Image API gem
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Dec 9, 2024
1 parent 2b46142 commit cc597db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/riiif/images_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
'height' => 4000,
'format' => 'JPEG',
'channels' => 'rgb',
'profile' => ['http://iiif.io/api/image/2/level1.json', 'formats' => %w(jpg png)],
'profile' => ['http://iiif.io/api/image/2/level1.json', 'formats' => %w(webp jpg png)],
'protocol' => 'http://iiif.io/api/image'
expect(response.headers['Link']).to eq '<http://iiif.io/api/image/2/level1.json>;rel="profile"'
expect(response.headers['Content-Type']).to eq 'application/ld+json; charset=utf-8'
Expand Down

0 comments on commit cc597db

Please sign in to comment.