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
Kota Miyake b74edd37c5 ActionMailer::Base can unregister observer(s) and interceptor(s). (#32207)
* ActionMailer::Base can unregister observer(s) and interceptor(s).

One or multiple mail observers can be unregistered using
`ActionMailer::Base.unregister_observers` or
`ActionMailer::Base.unregister_observer`.

One or multiple mail interceptors can be unregistered using
`ActionMailer::Base.unregister_interceptors` or
`ActionMailer::Base.unregister_interceptor`.

For preview interceptors, it's possible to use
`ActionMailer::Base.unregister_preview_interceptors` or
`ActionMailer::Base.unregister_preview_interceptor`.

* Ensure to be reset registered observer(s) and interceptor(s)

* Add explanation to CHANGELOG

* Add original author's name

[Kota Miyake + Rafael Mendonça França + Claudio Ortolina]
2018-05-30 17:36:24 -04:00
..
fixtures Expand on Action Mailer Fragment caching tests 2016-04-17 23:16:09 +05:30
mailers Fix AM::Base.default proc arity breaking change 2017-08-29 09:42:28 -04:00
abstract_unit.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
assert_select_email_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
asset_host_test.rb Do not generate default alt text in image tags 2017-08-17 16:13:15 -04:00
base_test.rb ActionMailer::Base can unregister observer(s) and interceptor(s). (#32207) 2018-05-30 17:36:24 -04:00
caching_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
delivery_methods_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
i18n_with_controller_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
log_subscriber_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
mail_helper_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
mail_layout_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
message_delivery_test.rb Enable Layout/SpaceBeforeComma rubocop rule, and fixed more 2017-12-12 20:00:50 +09:00
parameterized_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
test_case_test.rb Use frozen string literal in actionmailer/ 2017-07-23 18:17:19 +03:00
test_helper_test.rb Perform email jobs in #assert_emails 2018-03-12 15:35:18 -04:00
url_test.rb Enable Layout/SpaceBeforeComma rubocop rule, and fixed more 2017-12-12 20:00:50 +09:00