Commit e7c8c3c0 authored by Valery Sizov's avatar Valery Sizov

fix specs #2

parent 72005503
...@@ -14,7 +14,7 @@ describe Gitlab::LDAP::Config, lib: true do ...@@ -14,7 +14,7 @@ describe Gitlab::LDAP::Config, lib: true do
end end
it "raises an error if a unknow provider is used" do it "raises an error if a unknow provider is used" do
expect{ Gitlab::LDAP::Config.new 'unknown' }.to raise_error(RuntimeError) expect{ Gitlab::LDAP::Config.new 'unknown' }.to raise_error(Gitlab::LDAP::Config::InvalidProvider)
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment