Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-04 17:17:05 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-04 17:17:05 +0300
commit2b171e66adf713653c04005e08c02dd823622bdb (patch)
tree977965c0f9e4c93fa66c1f02b876391df115ac97 /spec/services/ci
parentbab5bdce96a258068d69c4b2811f036f151ed60b (diff)
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'spec/services/ci')
-rw-r--r--spec/services/ci/stop_environments_service_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/services/ci/stop_environments_service_spec.rb b/spec/services/ci/stop_environments_service_spec.rb
index 19a6bcc307f..ebbe6c37b87 100644
--- a/spec/services/ci/stop_environments_service_spec.rb
+++ b/spec/services/ci/stop_environments_service_spec.rb
@@ -222,8 +222,10 @@ describe Ci::StopEnvironmentsService do
it 'tracks the exception' do
expect(Gitlab::ErrorTracking)
- .to receive(:track_error)
- .with(Gitlab::Access::AccessDeniedError, anything).twice
+ .to receive(:track_exception)
+ .with(Gitlab::Access::AccessDeniedError, anything)
+ .twice
+ .and_call_original
subject
end