mirror of
https://github.com/discourse/discourse.git
synced 2026-08-14 06:55:03 -05:00
fix most deprecations in the specs (still some left)
This commit is contained in:
@@ -49,7 +49,7 @@ describe Auth::FacebookAuthenticator do
|
||||
|
||||
result = authenticator.after_authenticate(hash)
|
||||
|
||||
result.user.should be_nil
|
||||
result.user.should == nil
|
||||
result.extra_data[:name].should == "bob bob"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -50,7 +50,7 @@ describe Auth::GoogleOAuth2Authenticator do
|
||||
authenticator = described_class.new
|
||||
result = authenticator.after_authenticate(hash)
|
||||
|
||||
result.user.should be_nil
|
||||
result.user.should == nil
|
||||
result.extra_data[:name].should == "Jane Doe"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user