Skip to content

Commit

Permalink
Change syntax for Ruby 2.7 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Sep 13, 2023
1 parent 7d1b5e4 commit fa35230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mailers/revise_auth/mailer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ReviseAuth::MailerTest < ActionMailer::TestCase
user.unconfirmed_email = "unconfirmed@email.com"
token = "s3c3tt0k3n"

email = ReviseAuth::Mailer.with(user:, token:).confirm_email
email = ReviseAuth::Mailer.with(user: user, token: token).confirm_email

# Send the email, then test that it got queued
assert_emails 1 do
Expand Down

0 comments on commit fa35230

Please sign in to comment.