aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox/test/controllers/rails
diff options
context:
space:
mode:
authorKyle Zhao <kzhao.sw@gmail.com>2019-04-09 00:38:50 -0400
committerKyle Zhao <kzhao.sw@gmail.com>2019-04-09 00:43:53 -0400
commit4a9f2a746e855cf9f7169c8b7ed7563422bb08d6 (patch)
tree4aaca0e370e6defb1af905022674e1e8d4a42841 /actionmailbox/test/controllers/rails
parente485c14a3ee29ee486324a96545abf964d428101 (diff)
downloadrails-4a9f2a746e855cf9f7169c8b7ed7563422bb08d6.tar.gz
rails-4a9f2a746e855cf9f7169c8b7ed7563422bb08d6.tar.bz2
rails-4a9f2a746e855cf9f7169c8b7ed7563422bb08d6.zip
FIX: ActionMailbox test helper argument list
`receive_inbound_email_from_source` should accept an argument list (`*args`) instead, to allow for the `source` argument in `create_inbound_email_from_source`. ```ruby receive_inbound_email_from_source(source, status: :processing) ``` Accepting a keyword argument list (`**kwargs`) results in an `ArgumentError` ```text ArgumentError: wrong number of arguments (given 1, expected 0) ```
Diffstat (limited to 'actionmailbox/test/controllers/rails')
0 files changed, 0 insertions, 0 deletions