diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-13 15:03:11 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-14 11:48:51 +0300 |
commit | 59eeec3ff87ce175e34ac96e86c9690c5290502b (patch) | |
tree | 84f63a1fa4b731d3acd54d8996b9da189257d5a5 /spec/lib | |
parent | ebe14437e9bcc04ff6ca5c929c5b736ba70ce527 (diff) |
Make method that composes ci config entry private
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/ci/config/node/global_spec.rb | 9 | ||||
-rw-r--r-- | spec/lib/gitlab/ci/config/node/null_spec.rb | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/spec/lib/gitlab/ci/config/node/global_spec.rb b/spec/lib/gitlab/ci/config/node/global_spec.rb index 2227fcec638..b1972172435 100644 --- a/spec/lib/gitlab/ci/config/node/global_spec.rb +++ b/spec/lib/gitlab/ci/config/node/global_spec.rb @@ -18,15 +18,6 @@ describe Gitlab::Ci::Config::Node::Global do { before_script: ['ls', 'pwd'] } end - describe '#compose!' do - before { global.compose! } - - it 'instantiates entry nodes' do - expect(global.nodes.first) - .to be_an_instance_of Gitlab::Ci::Config::Node::Script - end - end - describe '#process!' do before { global.process! } diff --git a/spec/lib/gitlab/ci/config/node/null_spec.rb b/spec/lib/gitlab/ci/config/node/null_spec.rb index fb6c3b5cbc0..36101c62462 100644 --- a/spec/lib/gitlab/ci/config/node/null_spec.rb +++ b/spec/lib/gitlab/ci/config/node/null_spec.rb @@ -16,7 +16,7 @@ describe Gitlab::Ci::Config::Node::Null do end describe '#value' do - it 'returns nill' do + it 'returns nil' do expect(entry.value).to be nil end end |