diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-28 11:01:49 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-28 11:01:49 -0700 |
commit | 456d79b853aaec14f14c4c4deaa04cfb66c5b357 (patch) | |
tree | 89fb2d165eb28bd57b286f83cf3e7e89a9e9c37d /lib | |
parent | cfb927ce754199e93740e53aee4e6b40acb396c5 (diff) | |
download | rails-456d79b853aaec14f14c4c4deaa04cfb66c5b357.tar.gz rails-456d79b853aaec14f14c4c4deaa04cfb66c5b357.tar.bz2 rails-456d79b853aaec14f14c4c4deaa04cfb66c5b357.zip |
Extract MessageId concern
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action_mailroom/test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_mailroom/test_helper.rb b/lib/action_mailroom/test_helper.rb index 8ffbe94e6c..3e1ff87839 100644 --- a/lib/action_mailroom/test_helper.rb +++ b/lib/action_mailroom/test_helper.rb @@ -14,7 +14,7 @@ module ActionMailroom end def create_inbound_email(io, filename: 'mail.eml', status: :processing) - ActionMailroom::InboundEmail.create_from_raw_email! \ + ActionMailroom::InboundEmail.create_and_extract_message_id! \ ActionDispatch::Http::UploadedFile.new(tempfile: io, filename: filename, type: 'message/rfc822'), status: status end |