diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-18 14:37:11 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-18 14:37:11 +0200 |
commit | 00e58f835a34b7b903f612bc5a6fe1a1b022703d (patch) | |
tree | b987369ccb50b3946f0ebd9e880b6b77588b3073 /spec | |
parent | f52c61f846ce68b5d3517be3a0761773775dce29 (diff) | |
download | gitlab-ce-00e58f835a34b7b903f612bc5a6fe1a1b022703d.tar.gz |
Use parentheses in CI/CD kubernetes policy specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ci/build/policy/kubernetes_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/build/policy/kubernetes_spec.rb b/spec/lib/gitlab/ci/build/policy/kubernetes_spec.rb index 2fefb9f8621..15eb01eb472 100644 --- a/spec/lib/gitlab/ci/build/policy/kubernetes_spec.rb +++ b/spec/lib/gitlab/ci/build/policy/kubernetes_spec.rb @@ -24,7 +24,7 @@ describe Gitlab::Ci::Build::Policy::Kubernetes do context 'when kubernetes policy is invalid' do it 'raises an error' do expect { described_class.new('unknown') } - .to raise_error described_class::UnknownPolicyError + .to raise_error(described_class::UnknownPolicyError) end end end |