diff options
author | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-12-13 10:39:55 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-12-13 10:39:55 +0000 |
commit | 0165cfaa078a50f52c9f24e1c468b77b509c89f3 (patch) | |
tree | 0d1ab70049703c76440281aba201f3a6d2d81d52 /spec/lib/gitlab/ci/config/entry/job_spec.rb | |
parent | 6b68d82fbf2da3f73d411e7a6fbda16cd3b94604 (diff) | |
download | gitlab-ce-0165cfaa078a50f52c9f24e1c468b77b509c89f3.tar.gz |
Re-define default only except policy
Diffstat (limited to 'spec/lib/gitlab/ci/config/entry/job_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/job_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/job_spec.rb b/spec/lib/gitlab/ci/config/entry/job_spec.rb index c1f4a060063..8e32cede3b5 100644 --- a/spec/lib/gitlab/ci/config/entry/job_spec.rb +++ b/spec/lib/gitlab/ci/config/entry/job_spec.rb @@ -259,7 +259,8 @@ describe Gitlab::Ci::Config::Entry::Job do stage: 'test', ignore: false, after_script: %w[cleanup], - only: { refs: %w[branches tags] }) + only: { refs: %w[branches tags] }, + except: {}) end end end |