Mock omniauth payload before creating identities (#15893)
This commit is contained in:
parent
792cd68786
commit
c460cce85e
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ RSpec.describe "Admin::Users", type: :request do
|
|||
end
|
||||
|
||||
it "merges an identity on a single account into the other" do
|
||||
omniauth_mock_twitter_payload
|
||||
omniauth_mock_github_payload
|
||||
create(:identity, user: user, provider: "twitter")
|
||||
deleted_user_identity = create(:identity, user: user2)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue