We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4af89c commit 256c3d4Copy full SHA for 256c3d4
spec/omniauth/strategies/ldap_spec.rb
@@ -49,7 +49,7 @@ class MyLdapProvider < OmniAuth::Strategies::LDAP; end
49
50
describe 'post /auth/ldap/callback' do
51
before(:each) do
52
- @adaptor = mock(OmniAuth::LDAP::Adaptor, {:uid => 'ping'})
+ @adaptor = double(OmniAuth::LDAP::Adaptor, {:uid => 'ping'})
53
OmniAuth::LDAP::Adaptor.stub(:new).and_return(@adaptor)
54
end
55
0 commit comments