summaryrefslogtreecommitdiff
path: root/spec/models/upload_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 12:11:16 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 12:11:16 +0000
commitb5820a6bcd083c878a085aa288757e8dc2d35fec (patch)
tree7ce498ba4cc77c160a04eae2b8fba7474d1196d7 /spec/models/upload_spec.rb
parent74780f24f2005d24a0e0a8fa1b3ae5391ae2928f (diff)
downloadgitlab-ce-b5820a6bcd083c878a085aa288757e8dc2d35fec.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/upload_spec.rb')
-rw-r--r--spec/models/upload_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/upload_spec.rb b/spec/models/upload_spec.rb
index 18388b4cd83..6bac5e31435 100644
--- a/spec/models/upload_spec.rb
+++ b/spec/models/upload_spec.rb
@@ -221,7 +221,7 @@ RSpec.describe Upload do
it 'does not send a message to Sentry' do
upload = described_class.new(path: "#{__FILE__}-nope", store: ObjectStorage::Store::LOCAL)
- expect(Raven).not_to receive(:capture_message)
+ expect(Gitlab::ErrorTracking).not_to receive(:track_exception)
upload.exist?
end