diff options
author | Paul B <paul@bonaud.fr> | 2019-01-02 10:57:31 +0100 |
---|---|---|
committer | Paul B <paul@bonaud.fr> | 2019-02-19 17:10:51 +0100 |
commit | d3aa9feffd725f8fd7e1826c56c0e26d6708ac38 (patch) | |
tree | 48b1baf4b6a8b3f24d1aba1ac0f40eb3d6e0f9a4 /spec/lib/gitlab/ci/config | |
parent | 30791a36c57140f56cb5d2f14a7f79ff36c1afa9 (diff) | |
download | gitlab-ce-d3aa9feffd725f8fd7e1826c56c0e26d6708ac38.tar.gz |
tests(yaml_processor): complete test scenarios on 'include' keyword
Diffstat (limited to 'spec/lib/gitlab/ci/config')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/global_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/global_spec.rb b/spec/lib/gitlab/ci/config/entry/global_spec.rb index 7651f594a4c..e23efff18d5 100644 --- a/spec/lib/gitlab/ci/config/entry/global_spec.rb +++ b/spec/lib/gitlab/ci/config/entry/global_spec.rb @@ -13,7 +13,7 @@ describe Gitlab::Ci::Config::Entry::Global do expect(described_class.nodes.keys) .to match_array(%i[before_script image services after_script variables stages - types cache]) + types cache include]) end end end @@ -42,7 +42,7 @@ describe Gitlab::Ci::Config::Entry::Global do end it 'creates node object for each entry' do - expect(global.descendants.count).to eq 8 + expect(global.descendants.count).to eq 9 end it 'creates node object using valid class' do @@ -189,7 +189,7 @@ describe Gitlab::Ci::Config::Entry::Global do describe '#nodes' do it 'instantizes all nodes' do - expect(global.descendants.count).to eq 8 + expect(global.descendants.count).to eq 9 end it 'contains unspecified nodes' do |