diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-10-26 11:27:49 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-10-30 07:42:14 +0300 |
commit | a12cb0ce0c29af89a74ddc3455c2aa210be0459b (patch) | |
tree | 700124914eb233e2414956faa7b57ef391d518f4 | |
parent | 1943ac401993ae991dad27e300b2cd1a9928bbbf (diff) |
Fix static analysis
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
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 |