Improve description of CI types node and in specs

This commit is contained in:
Grzegorz Bizon 2016-06-30 12:59:17 +02:00
parent 7ef11ce3de
commit b4f03e8b1e
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ module Gitlab
description: 'Configuration of stages for this pipeline.'
node :types, Node::Stages,
description: 'Stages for this pipeline (deprecated key).'
description: 'Deprecated: stages for this pipeline.'
node :cache, Node::Cache,
description: 'Configure caching between build jobs.'

View File

@ -27,13 +27,13 @@ describe Gitlab::Ci::Config::Node::Undefined do
allow(entry).to receive(:default).and_return('some value')
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'
end
end
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
end
end