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:
authorShinya Maeda <shinya@gitlab.com>2018-10-26 11:27:49 +0300
committerShinya Maeda <shinya@gitlab.com>2018-10-30 07:42:14 +0300
commita12cb0ce0c29af89a74ddc3455c2aa210be0459b (patch)
tree700124914eb233e2414956faa7b57ef391d518f4
parent1943ac401993ae991dad27e300b2cd1a9928bbbf (diff)
Fix static analysis
-rw-r--r--spec/models/ci/build_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index b271f13a5e4..ea498167167 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -3310,7 +3310,7 @@ describe Ci::Build do
describe '#deployment_status' do
before do
- allow_any_instance_of(Ci::Build).to receive(:create_deployment)
+ allow_any_instance_of(described_class).to receive(:create_deployment)
end
context 'when build is a last deployment' do