summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/config/entry/jobs_spec.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-14 14:50:12 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-14 14:50:12 +0100
commit0cba9bef8a399e8f2003fee23fbda6f525921175 (patch)
tree1664308b41a0ae31b228027fa5ababe7b9453ec4 /spec/lib/gitlab/ci/config/entry/jobs_spec.rb
parent0ea8c236c15eea3bd08f7cdd0e6d0cc4e82faef5 (diff)
downloadgitlab-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.rb6
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