diff options
Diffstat (limited to 'spec/lib/api/helpers_spec.rb')
-rw-r--r-- | spec/lib/api/helpers_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/api/helpers_spec.rb b/spec/lib/api/helpers_spec.rb index a0f5ee1ea95..0fcf36ca9dd 100644 --- a/spec/lib/api/helpers_spec.rb +++ b/spec/lib/api/helpers_spec.rb @@ -821,7 +821,7 @@ RSpec.describe API::Helpers, feature_category: :not_owned do it 'redirects to a CDN-fronted URL' do expect(helper).to receive(:redirect) - expect(helper).to receive(:signed_head_url).and_call_original + expect(ObjectStorage::S3).to receive(:signed_head_url).and_call_original expect(Gitlab::ApplicationContext).to receive(:push).with(artifact: artifact.file.model).and_call_original subject |