FIX: Support Ruby 3 keyword arguments

This commit is contained in:
Yasuo Honda
2021-09-27 21:45:05 +09:00
committed by Robin Ward
parent 5569723321
commit dbbfad7ed0
12 changed files with 24 additions and 24 deletions

View File

@ -50,7 +50,7 @@ describe UserAuthenticator do
authentication = github_auth(true)
UserAuthenticator.new(user, authentication: authentication).finish
UserAuthenticator.new(user, { authentication: authentication }).finish
expect(user.email_confirmed?).to be_truthy
expect(group.usernames).to include(user.username)
end
@ -60,7 +60,7 @@ describe UserAuthenticator do
authentication = github_auth(false)
UserAuthenticator.new(user, authentication: authentication).finish
UserAuthenticator.new(user, { authentication: authentication }).finish
expect(user.email_confirmed?).to be_falsey
expect(group.usernames).not_to include(user.username)
end
@ -70,7 +70,7 @@ describe UserAuthenticator do
authentication = github_auth(true)
UserAuthenticator.new(user, authentication: authentication).finish
UserAuthenticator.new(user, { authentication: authentication }).finish
expect(user.email_confirmed?).to be_falsey
expect(group.usernames).not_to include(user.username)
end