mirror of
https://github.com/discourse/discourse.git
synced 2025-04-18 10:10:59 +08:00
DEV: Correct test from 9c1c8b45
This commit is contained in:
parent
b084d6c8df
commit
864f68725a
@ -487,7 +487,7 @@ RSpec.describe Users::OmniauthCallbacksController do
|
||||
expect(response.redirect_url).to start_with("http://test.localhost/associate/")
|
||||
|
||||
expect(session[:current_user_id]).to eq(user.id)
|
||||
expect(UserAssociatedAccount.count).to eq(0) # Reconnect has not yet happened
|
||||
expect(UserAssociatedAccount.count).to eq(1) # Reconnect has not yet happened
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user