Skip to content

Commit

Permalink
Merge pull request #1201 from sul-dlss/simplify_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo authored Jul 1, 2024
2 parents cc71874 + 43e9d34 commit 9c96336
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spec/requests/iiif_auth_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@
let(:transformation) { IIIF::Image::Transformation.new region:, size:, rotation:, quality:, format: }
let(:druid) { 'nr349ct7889' }
let(:file_name) { 'image.jp2' }
let(:path) { storage_root.absolute_path }
let(:storage_root) { StorageRoot.new(druid:, file_name:) }
let(:perms) { nil }
let(:stacks_file) { StacksFile.new(id: druid, file_name:, cocina: Cocina.new(public_json)) }
let(:current_image) { StacksImage.new(stacks_file:, transformation:) }
let(:http_client) { instance_double(HTTP::Client) }

before(:each) do
allow(File).to receive(:world_readable?).with(path).and_return(perms)
end

describe "#show" do
before do
allow_any_instance_of(Projection).to receive(:valid?).and_return(true)
Expand Down

0 comments on commit 9c96336

Please sign in to comment.