diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 18:54:14 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 18:54:14 +0300 |
commit | 4509594e206f93cdb54d80ae96fe7ad3d6a8fa4b (patch) | |
tree | aa015a64167c18a5682370b7fd3027c622a5687b /spec/lib/gitlab/ci/config/entry/policy_spec.rb | |
parent | 7e6bc4dde29af635c4ec281beea20ca87ccfbe34 (diff) |
Fix Rubocop offense in CI/CD only/except policy class
Diffstat (limited to 'spec/lib/gitlab/ci/config/entry/policy_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/policy_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/policy_spec.rb b/spec/lib/gitlab/ci/config/entry/policy_spec.rb index b3eba1382f2..ccf885969fb 100644 --- a/spec/lib/gitlab/ci/config/entry/policy_spec.rb +++ b/spec/lib/gitlab/ci/config/entry/policy_spec.rb @@ -58,7 +58,7 @@ describe Gitlab::Ci::Config::Entry::Policy do context 'when using complex policy' do context 'when it is an empty hash' do - let(:config) { { } } + let(:config) { {} } it 'reports an error about configuration not being present' do expect(entry.errors).to include /can't be blank/ |