Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jwellnit committed Sep 11, 2024
1 parent d9ec047 commit e135141
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
expect(Hydra::Derivatives::AudioDerivatives)
.to have_received(:create).with(filename, outputs: [{ label: 'mp3', format: 'mp3', url: "file://#{derivative_path}" }])
end

it 'uploads derivatives to s3' do
expect(service).to have_received(:upload_derivatives_to_s3).with(['1234-0-access.mp3'], [derivative_path])
end
Expand All @@ -411,7 +411,7 @@
expect(Hydra::Derivatives::AudioDerivatives)
.to have_received(:create).with(filename, outputs: [{ label: 'mp3', format: 'mp3', url: "file://#{derivative_path}" }])
end

it 'uploads derivatives to s3' do
expect(service).to have_received(:upload_derivatives_to_s3).with(['1234-0-access.mp3'], [derivative_path])
end
Expand Down

0 comments on commit e135141

Please sign in to comment.