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/ldap | |
parent | 8b1f1ab32e528cf6f7e21b54cf722dae386c5a1d (diff) |
Fix `raise_error` without an argument deprecation warnings
Diffstat (limited to 'spec/lib/gitlab/ldap')
-rw-r--r-- | spec/lib/gitlab/ldap/config_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ldap/config_spec.rb b/spec/lib/gitlab/ldap/config_spec.rb index 00e9076c787..3548d647c84 100644 --- a/spec/lib/gitlab/ldap/config_spec.rb +++ b/spec/lib/gitlab/ldap/config_spec.rb @@ -14,7 +14,7 @@ describe Gitlab::LDAP::Config do end it "raises an error if a unknow provider is used" do - expect{ Gitlab::LDAP::Config.new 'unknown' }.to raise_error + expect{ Gitlab::LDAP::Config.new 'unknown' }.to raise_error(RuntimeError) end end end |