diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-12 03:10:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-12 03:10:11 +0000 |
commit | e6de69cc2eae87536ed97df4dee36980583010f5 (patch) | |
tree | 453e41dd20186d8b7a0ccd6e1161a54d496deae3 /spec/lib/gitlab/ci/yaml_processor_spec.rb | |
parent | d9e285a74bf01b1a61108a8091a88579361ef189 (diff) | |
download | gitlab-ce-e6de69cc2eae87536ed97df4dee36980583010f5.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/ci/yaml_processor_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/yaml_processor_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lib/gitlab/ci/yaml_processor_spec.rb b/spec/lib/gitlab/ci/yaml_processor_spec.rb index 8bb5f58279b..dc443c5a1c1 100644 --- a/spec/lib/gitlab/ci/yaml_processor_spec.rb +++ b/spec/lib/gitlab/ci/yaml_processor_spec.rb @@ -1152,6 +1152,10 @@ module Gitlab end it { is_expected.to be_valid } + + it 'adds the job from the included file' do + expect(subject.builds.map { |build| build[:name] }).to contain_exactly('job1', 'rspec') + end end context "when the included internal file is not present" do |