File tree Expand file tree Collapse file tree 2 files changed +13
-32
lines changed Expand file tree Collapse file tree 2 files changed +13
-32
lines changed Original file line number Diff line number Diff line change 5757 context 'with a authorized webauthed user' do
5858 let ( :current_user ) { user_webauth_stanford_no_loc }
5959
60- it 'works' do
60+ it 'custom size works' do
6161 get "/image/iiif/#{ identifier } /#{ region } /#{ size } /#{ rotation } /#{ quality } .#{ format } "
6262 expect ( response ) . to have_http_status ( :ok )
6363 expect ( response . media_type ) . to eq ( 'image/jpeg' )
6464 end
65+
66+ it 'v3 full size works' do
67+ get "/image/iiif/#{ identifier } /#{ region } /max/#{ rotation } /#{ quality } .#{ format } "
68+ expect ( response ) . to have_http_status ( :ok )
69+ expect ( response . media_type ) . to eq ( 'image/jpeg' )
70+ end
71+
72+ it 'v2 full size works' do
73+ get "/image/iiif/#{ identifier } /#{ region } /full/#{ rotation } /#{ quality } .#{ format } "
74+ expect ( response ) . to have_http_status ( :ok )
75+ expect ( response . media_type ) . to eq ( 'image/jpeg' )
76+ end
6577 end
6678
6779 context 'with a unauthorized webauthed user' do
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments