diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-09 11:53:56 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-09 11:53:56 +0300 |
commit | 6a319fd28790228295de19d8c786d1a807f73376 (patch) | |
tree | 9c2bab1bd179576f4d46bf5adc7981ea9f23b982 /spec/lib | |
parent | d9d5042fd9edf2abd662566ddc4c65b6a9bdbb08 (diff) |
Make it possible configure Ci entry description
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/ci/config/node/global_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/gitlab/ci/config/node/global_spec.rb b/spec/lib/gitlab/ci/config/node/global_spec.rb index 606750648d4..9cbd62cbf60 100644 --- a/spec/lib/gitlab/ci/config/node/global_spec.rb +++ b/spec/lib/gitlab/ci/config/node/global_spec.rb @@ -42,6 +42,11 @@ describe Gitlab::Ci::Config::Node::Global do expect(global.nodes.first) .to be_an_instance_of Gitlab::Ci::Config::Node::Script end + + it 'sets correct description for nodes' do + expect(global.nodes.first.description) + .to eq 'Script that will be executed before each job.' + end end describe '#has_config?' do |