1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailer/test
Edouard CHIN 859f3bf024 Deprecate custom Action Mailer delivery job:
- Action Mailer delivery job should modify their `perform` method
  signature in order to receive the new payload that Action Mailer
  sends.

  Before:

  ```ruby
    def perform(mailer, mail_method, delivery_method, *args)
    end
  ```

  After:

  ```ruby
    def perform(mailer, mail_method, delivery_method, args:)
    end
  ```

  This new behaviour was introduced couple years ago in a attempt to
  get rid of the necessity to have a different job for paramterized
  mailers. A deprecation was introduced for custom jobs inheriting
  from `ActionMailer::DeliveryJob` but for jobs that didn't it went
  unnoticed.
  The deprecated behaviour was supposed to be removed in Rails 6.1
  but we couldn't and it got reverted https://github.com/rails/rails/pull/39257
2020-08-26 17:48:47 +02:00
..
fixtures Merge pull request #26445 from dracos/multiparty 2020-08-19 10:10:36 -07:00
mailers Merge pull request #26445 from dracos/multiparty 2020-08-19 10:10:36 -07:00
abstract_unit.rb Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" 2019-08-02 00:24:21 -04:00
assert_select_email_test.rb
asset_host_test.rb Deprecate starts_with? and ends_with? for String core extensions 2020-05-05 15:51:24 +09:00
base_test.rb Merge pull request #26445 from dracos/multiparty 2020-08-19 10:10:36 -07:00
caching_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
delivery_methods_test.rb
i18n_with_controller_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
legacy_delivery_job_test.rb Deprecate custom Action Mailer delivery job: 2020-08-26 17:48:47 +02:00
log_subscriber_test.rb Remove deprecated ActionMailer::Base.receive in favor of Action Mailbox 2020-05-05 00:06:22 -04:00
mail_helper_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
mail_layout_test.rb
message_delivery_test.rb Add spec to verify that MessageDelivery Job accepts priority 2020-06-22 22:31:15 +05:30
parameterized_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
test_case_test.rb
test_helper_test.rb Revert "Remove deprecated ActionMailer::DeliveryJob and ActionMailer::Parameterized::DeliveryJob" 2020-05-12 15:20:07 -04:00
url_test.rb Remove method encode from url_test in Actionmailer: 2020-01-08 11:52:13 -03:00