Skip to content

Commit 17418ba

Browse files
Merge pull request rails#35904 from xrav3nz/fix/action-mailbox/test-helper-args
FIX: ActionMailbox test helper argument list
2 parents ac786cd + 4a9f2a7 commit 17418ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

actionmailbox/lib/action_mailbox/test_helper.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ def receive_inbound_email_from_fixture(*args)
2929
create_inbound_email_from_fixture(*args).tap(&:route)
3030
end
3131

32-
# Create an +InboundEmail+ from fixture using the same arguments as +create_inbound_email_from_mail+
33-
# and immediately route it to processing.
32+
# Create an +InboundEmail+ using the same arguments as +create_inbound_email_from_mail+ and immediately route it to
33+
# processing.
3434
def receive_inbound_email_from_mail(**kwargs)
3535
create_inbound_email_from_mail(**kwargs).tap(&:route)
3636
end
3737

38-
# Create an +InboundEmail+ from fixture using the same arguments as +create_inbound_email_from_source+
39-
# and immediately route it to processing.
40-
def receive_inbound_email_from_source(**kwargs)
41-
create_inbound_email_from_source(**kwargs).tap(&:route)
38+
# Create an +InboundEmail+ using the same arguments as +create_inbound_email_from_source+ and immediately route it
39+
# to processing.
40+
def receive_inbound_email_from_source(*args)
41+
create_inbound_email_from_source(*args).tap(&:route)
4242
end
4343
end
4444
end

0 commit comments

Comments
 (0)