aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators_test.rb
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 /railties/test/generators_test.rb
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 'railties/test/generators_test.rb')
0 files changed, 0 insertions, 0 deletions