diff options
Diffstat (limited to 'spec/services/branches/create_service_spec.rb')
-rw-r--r-- | spec/services/branches/create_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/branches/create_service_spec.rb b/spec/services/branches/create_service_spec.rb index 1962aca35e1..0d2f5838574 100644 --- a/spec/services/branches/create_service_spec.rb +++ b/spec/services/branches/create_service_spec.rb @@ -65,7 +65,7 @@ RSpec.describe Branches::CreateService do allow(project.repository).to receive(:add_branch).and_raise(pre_receive_error) - expect(Gitlab::ErrorTracking).to receive(:track_exception).with( + expect(Gitlab::ErrorTracking).to receive(:log_exception).with( pre_receive_error, pre_receive_message: raw_message, branch_name: 'new-feature', |