diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 12:42:40 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 12:42:40 +0300 |
commit | a061a2461a05200ab534d382b67e1b9099128478 (patch) | |
tree | b33a2484661df456a93062823610471c75db030c /spec/lib/gitlab/ci/config/entry/policy_spec.rb | |
parent | 873460783a81ba7b89ca51c8fb6dfa5f6c2c51cc (diff) |
Fix CI/CD trigger policy default value
Diffstat (limited to 'spec/lib/gitlab/ci/config/entry/policy_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/policy_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/policy_spec.rb b/spec/lib/gitlab/ci/config/entry/policy_spec.rb index 69095144daa..740b95427d3 100644 --- a/spec/lib/gitlab/ci/config/entry/policy_spec.rb +++ b/spec/lib/gitlab/ci/config/entry/policy_spec.rb @@ -84,4 +84,10 @@ describe Gitlab::Ci::Config::Entry::Policy do .to include 'policy has to be either an array of conditions or a hash' end end + + describe '.default' do + it 'does not have a default value' do + expect(described_class.default).to be_nil + end + end end |