Skip to content

Commit

Permalink
Apply Standard Ruby autofixes
Browse files Browse the repository at this point in the history
  • Loading branch information
standard-ruby-action[bot] committed Nov 23, 2024
1 parent 39a3d87 commit fd3cd6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/requests/connections_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
assert_enqueued_emails 1 do
subject
end
otp = user.reload.otp
user.reload.otp
assert_enqueued_email_with UserMailer, :otp, params: {user:}
expect(response).to redirect_to(new_session_path)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/registrations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
expect(user.last_name).to eq("Nixon")
expect(user.terms_and_privacy_accepted_at).to eq(Time.current)

otp = user.reload.otp
user.reload.otp
assert_enqueued_email_with UserMailer, :otp, params: {user:}

expect(response).to redirect_to(new_session_path)
Expand Down

0 comments on commit fd3cd6b

Please sign in to comment.