Skip to content

Commit

Permalink
receive_incoming_mail returns Mail object
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-griffen committed Sep 22, 2023
1 parent 905fc22 commit 0286108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/email_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def receive_incoming_mail(email_name_or_string, **kargs)
content = load_file_fixture(email_name_or_string) || email_name_or_string
content = gsub_addresses(content, **kargs)
content = ::Mail::Utilities.binary_unsafe_to_crlf(content)
RequestMailer.receive(content)
RequestMailer.receive(MailHandler.mail_from_raw_email(content))
end

def get_fixture_mail(filename, email_to = nil, email_from = nil)
Expand Down

0 comments on commit 0286108

Please sign in to comment.