summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-04-20 23:29:05 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-04-20 23:29:05 +0800
commitf718ccf2025765cdf631a105b093fcfd72ea8cae (patch)
tree7428fc78109016eaac96a9b32307cd47a54fc6e4 /qa
parent5dfab4ce27cbcfed3c0210b5733bb30fc6a32851 (diff)
downloadgitlab-ce-f718ccf2025765cdf631a105b093fcfd72ea8cae.tar.gz
It's actually raising QA::Service::Shellout::CommandError
Diffstat (limited to 'qa')
-rw-r--r--qa/spec/runtime/key/ecdsa_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/spec/runtime/key/ecdsa_spec.rb b/qa/spec/runtime/key/ecdsa_spec.rb
index 55a5c5e5c1b..8951e82b9bb 100644
--- a/qa/spec/runtime/key/ecdsa_spec.rb
+++ b/qa/spec/runtime/key/ecdsa_spec.rb
@@ -11,7 +11,8 @@ describe QA::Runtime::Key::ECDSA do
describe '#new' do
it 'does not support arbitrary bits' do
- expect { described_class.new(123) }.to raise_error(RuntimeError)
+ expect { described_class.new(123) }
+ .to raise_error(QA::Service::Shellout::CommandError)
end
end
end