diff options
-rw-r--r-- | lib/action_mailbox/test_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/action_mailbox/test_helper.rb b/lib/action_mailbox/test_helper.rb index 4694f61b8a..b1d7af33f9 100644 --- a/lib/action_mailbox/test_helper.rb +++ b/lib/action_mailbox/test_helper.rb @@ -19,6 +19,10 @@ module ActionMailbox status: status end + def receive_inbound_email_from_fixture(*args) + create_inbound_email_from_fixture(*args).tap(&:route) + end + def receive_inbound_email_from_mail(**kwargs) create_inbound_email_from_mail(**kwargs).tap(&:route) end |