diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-14 14:50:12 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-14 14:50:12 +0100 |
commit | 0cba9bef8a399e8f2003fee23fbda6f525921175 (patch) | |
tree | 1664308b41a0ae31b228027fa5ababe7b9453ec4 /spec/lib/gitlab/ci/config/entry/jobs_spec.rb | |
parent | 0ea8c236c15eea3bd08f7cdd0e6d0cc4e82faef5 (diff) | |
download | gitlab-ce-0cba9bef8a399e8f2003fee23fbda6f525921175.tar.gz |
Fix specs related to emtpy `except` policy config
Diffstat (limited to 'spec/lib/gitlab/ci/config/entry/jobs_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/jobs_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/jobs_spec.rb b/spec/lib/gitlab/ci/config/entry/jobs_spec.rb index d97be76f0e0..271ee30df3c 100644 --- a/spec/lib/gitlab/ci/config/entry/jobs_spec.rb +++ b/spec/lib/gitlab/ci/config/entry/jobs_spec.rb @@ -67,14 +67,12 @@ describe Gitlab::Ci::Config::Entry::Jobs do script: %w[rspec], ignore: false, stage: 'test', - only: { refs: %w[branches tags] }, - except: {} }, + only: { refs: %w[branches tags] } }, spinach: { name: :spinach, script: %w[spinach], ignore: false, stage: 'test', - only: { refs: %w[branches tags] }, - except: {} }) + only: { refs: %w[branches tags] } }) end end |