19df946585
In #45752, a `:params` kwarg was added to `assert_enqueued_email_with` so that mailer params and args could be specified simultaneously. However, for backward compatibility, the old behavior of treating an `:args` Hash as params was preserved. The result is that if both `:params` and `:args` are specified and `:args` is a Hash, `:params` is ignored. This commit deprecates specifying params via `:args` (i.e. passing a Hash to `:args`). After the deprecated behavior is removed, it will be possible to pass a Hash to `:args`, and the Hash will be treated as named args instead. |
||
---|---|---|
.. | ||
fixtures | ||
mailers | ||
abstract_unit.rb | ||
assert_select_email_test.rb | ||
asset_host_test.rb | ||
base_test.rb | ||
caching_test.rb | ||
callbacks_test.rb | ||
delivery_methods_test.rb | ||
i18n_with_controller_test.rb | ||
log_subscriber_test.rb | ||
mail_helper_test.rb | ||
mail_layout_test.rb | ||
message_delivery_test.rb | ||
parameterized_test.rb | ||
test_case_test.rb | ||
test_helper_test.rb | ||
url_test.rb |