aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-09-20 16:32:03 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-09-20 16:32:03 -0700
commit2d6c79413d01f48df11ef76e65ba45673dcf580c (patch)
treeb3d723d2c5d43e09e34b92c935d87432d87de1a9 /lib
parent66dacce5245f27ceecb527f9890aa120204f947a (diff)
downloadrails-2d6c79413d01f48df11ef76e65ba45673dcf580c.tar.gz
rails-2d6c79413d01f48df11ef76e65ba45673dcf580c.tar.bz2
rails-2d6c79413d01f48df11ef76e65ba45673dcf580c.zip
Use proper default
Diffstat (limited to 'lib')
-rw-r--r--lib/action_mailroom/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_mailroom/test_helper.rb b/lib/action_mailroom/test_helper.rb
index bd9d57bd38..fbfb2797d9 100644
--- a/lib/action_mailroom/test_helper.rb
+++ b/lib/action_mailroom/test_helper.rb
@@ -10,7 +10,7 @@ module ActionMailroom
create_inbound_email(StringIO.new(Mail.new(mail_options).to_s), status: status)
end
- def create_inbound_email(io, filename: 'mail.eml', status: status)
+ def create_inbound_email(io, filename: 'mail.eml', status: :processing)
ActionMailroom::InboundEmail.create! status: status, raw_email:
ActiveStorage::Blob.create_after_upload!(io: io, filename: filename, content_type: 'message/rfc822')
end