Skip to content
Snippets Groups Projects
Commit b4f03e8b authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Improve description of CI types node and in specs

parent 7ef11ce3
No related branches found
No related tags found
No related merge requests found
Loading
@@ -28,7 +28,7 @@ module Gitlab
Loading
@@ -28,7 +28,7 @@ module Gitlab
description: 'Configuration of stages for this pipeline.' description: 'Configuration of stages for this pipeline.'
   
node :types, Node::Stages, node :types, Node::Stages,
description: 'Stages for this pipeline (deprecated key).' description: 'Deprecated: stages for this pipeline.'
   
node :cache, Node::Cache, node :cache, Node::Cache,
description: 'Configure caching between build jobs.' description: 'Configure caching between build jobs.'
Loading
Loading
Loading
@@ -27,13 +27,13 @@ describe Gitlab::Ci::Config::Node::Undefined do
Loading
@@ -27,13 +27,13 @@ describe Gitlab::Ci::Config::Node::Undefined do
allow(entry).to receive(:default).and_return('some value') allow(entry).to receive(:default).and_return('some value')
end end
   
it 'returns default value for entry that is undefined' do it 'returns default value for entry' do
expect(undefined.value).to eq 'some value' expect(undefined.value).to eq 'some value'
end end
end end
   
describe '#undefined?' do describe '#undefined?' do
it 'is not a concrete entry that is defined' do it 'is not a defined entry' do
expect(undefined.defined?).to be false expect(undefined.defined?).to be false
end end
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment