Skip to content

Commit

Permalink
Fix preview arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirk Wang committed May 3, 2024
1 parent 04e61ff commit 19a6e4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/mailers/previews/hyku_mailer_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def summary_email

user = Struct.new(:email, :name).new('admin@example.com', 'Admin')

HykuMailer.new.summary_email(user, messages)
account = Struct.new(:cname, :contact_email).new('local', 'user@example.com')

HykuMailer.new.summary_email(user, messages, account)
end
end

0 comments on commit 19a6e4e

Please sign in to comment.