aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox/test/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailbox/test/controllers')
-rw-r--r--actionmailbox/test/controllers/rails/action_mailbox/inbound_emails_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionmailbox/test/controllers/rails/action_mailbox/inbound_emails_controller_test.rb b/actionmailbox/test/controllers/rails/action_mailbox/inbound_emails_controller_test.rb
index 6fc39c2433..ad13faf36c 100644
--- a/actionmailbox/test/controllers/rails/action_mailbox/inbound_emails_controller_test.rb
+++ b/actionmailbox/test/controllers/rails/action_mailbox/inbound_emails_controller_test.rb
@@ -45,8 +45,10 @@ class Rails::Conductor::ActionMailbox::InboundEmailsControllerTest < ActionDispa
end
mail = ActionMailbox::InboundEmail.last.mail
+ attachment_filenames = mail.attachments.map(&:filename)
assert_equal "Let's talk about these images:", mail.text_part.decoded
assert_equal 2, mail.attachments.count
+ assert_equal attachment_filenames, ["avatar1.jpeg", "avatar2.jpeg"]
end
end