summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-18 14:37:11 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-18 14:37:11 +0200
commit00e58f835a34b7b903f612bc5a6fe1a1b022703d (patch)
treeb987369ccb50b3946f0ebd9e880b6b77588b3073 /spec
parentf52c61f846ce68b5d3517be3a0761773775dce29 (diff)
downloadgitlab-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.rb2
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