summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/config/entry/job_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/job_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/job_spec.rb')
-rw-r--r--spec/lib/gitlab/ci/config/entry/job_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/job_spec.rb b/spec/lib/gitlab/ci/config/entry/job_spec.rb
index 3d0b98eb238..0560eb42e4d 100644
--- a/spec/lib/gitlab/ci/config/entry/job_spec.rb
+++ b/spec/lib/gitlab/ci/config/entry/job_spec.rb
@@ -258,8 +258,7 @@ describe Gitlab::Ci::Config::Entry::Job do
stage: 'test',
ignore: false,
after_script: %w[cleanup],
- only: { refs: %w[branches tags] },
- except: {})
+ only: { refs: %w[branches tags] })
end
end
end