diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-18 04:29:18 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-22 13:13:47 +0300 |
commit | 0f627f1c6046be06986ee0e6e46d390ec2c18507 (patch) | |
tree | 499dd109b2b23166c51cda042fa10c4772dd2241 /spec/lib/gitlab/popen_spec.rb | |
parent | 8b1f1ab32e528cf6f7e21b54cf722dae386c5a1d (diff) |
Fix `raise_error` without an argument deprecation warnings
Diffstat (limited to 'spec/lib/gitlab/popen_spec.rb')
-rw-r--r-- | spec/lib/gitlab/popen_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/popen_spec.rb b/spec/lib/gitlab/popen_spec.rb index cd9d0456b25..f80d306cfc6 100644 --- a/spec/lib/gitlab/popen_spec.rb +++ b/spec/lib/gitlab/popen_spec.rb @@ -28,7 +28,7 @@ describe 'Gitlab::Popen', no_db: true do context 'unsafe string command' do it 'raises an error when it gets called with a string argument' do - expect { @klass.new.popen('ls', path) }.to raise_error + expect { @klass.new.popen('ls', path) }.to raise_error(RuntimeError) end end |