BigW Consortium Gitlab

Commit b3cd41b4 by Grzegorz Bizon

Use double instead of spy in job config node specs

parent 1255205d
......@@ -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) }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment