Commit a061a246 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix CI/CD trigger policy default value

parent 87346078
...@@ -44,6 +44,9 @@ module Gitlab ...@@ -44,6 +44,9 @@ module Gitlab
['policy has to be either an array of conditions or a hash'] ['policy has to be either an array of conditions or a hash']
end end
end end
def self.default
end
end end
end end
end end
......
...@@ -84,4 +84,10 @@ describe Gitlab::Ci::Config::Entry::Policy do ...@@ -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' .to include 'policy has to be either an array of conditions or a hash'
end end
end end
describe '.default' do
it 'does not have a default value' do
expect(described_class.default).to be_nil
end
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment