spec/models/riiif/image_spec.rb in riiif-2.1.0 vs spec/models/riiif/image_spec.rb in riiif-2.2.0

- old
+ new

@@ -37,12 +37,12 @@ it 'returns the data' do expect(subject.info).to eq Riiif::ImageInformation.new(width: 800, height: 400) end end - context 'using HTTPFileResolver' do + context 'using HttpFileResolver' do before do - described_class.file_resolver = Riiif::HTTPFileResolver.new + described_class.file_resolver = Riiif::HttpFileResolver.new described_class.file_resolver.id_to_uri = lambda do |id| "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/#{id}.jpg/600px-#{id}.jpg" end end after do