diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-09-03 10:31:02 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-09-03 10:31:02 +0300 |
commit | b3cd41b4014fa96780218f0f086de239731ec91a (patch) | |
tree | 80e3e281839ceb6f8f919cfefe6838142207bbf7 /spec/lib/gitlab/ci | |
parent | 1255205d896d070a6d8bcefa3774116263db84be (diff) |
Use double instead of spy in job config node specs
Diffstat (limited to 'spec/lib/gitlab/ci')
-rw-r--r-- | spec/lib/gitlab/ci/config/node/job_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/config/node/job_spec.rb b/spec/lib/gitlab/ci/config/node/job_spec.rb index c660ce39c46..91f676dae03 100644 --- a/spec/lib/gitlab/ci/config/node/job_spec.rb +++ b/spec/lib/gitlab/ci/config/node/job_spec.rb @@ -72,7 +72,7 @@ describe Gitlab::Ci::Config::Node::Job do double('specified', 'specified?' => true, value: 'specified') end - let(:deps) { spy('deps', '[]' => unspecified) } + let(:deps) { double('deps', '[]' => unspecified) } context 'when job config overrides global config' do before { entry.compose!(deps) } |