Skip to content

Commit

Permalink
AO3-6773 fix url param pluralisation in invite_request_declined maile…
Browse files Browse the repository at this point in the history
…r preview update
  • Loading branch information
amecreate committed Dec 2, 2024
1 parent 56e9dae commit e496954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mailers/previews/user_mailer_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def claim_notification

def invite_request_declined
user = create(:user, :for_mailer_preview)
total = params[:total].to_i || 1
total = params[:total] ? params[:total].to_i : 1
reason = "test reason"
UserMailer.invite_request_declined(user.id, total, reason)
end
Expand Down

0 comments on commit e496954

Please sign in to comment.