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
claudiob e4613c97c3 Fix assertion that was never run
In order to run whether the `welcome` method of the ActionMailer::Base
subclass raises an error, `message` must be called, otherwise the method
is not executed at all.

You could just replace with `def welcome; raise StandardError; end` and you
would still see a passing test.

This commit fixes the test so the assertion is actually executed, just like
any other tests in the file, where `.message` is called.
2015-01-11 11:50:29 -08:00
..
fixtures Template lookup now respect default locale and I18n fallbacks. 2014-12-29 23:48:35 -03:00
mailers Added ActionMailer::DeliverLater 2014-08-13 11:36:32 +00:00
abstract_unit.rb Default to sorting user's test cases for now 2014-09-08 05:32:16 -07:00
assert_select_email_test.rb Deprecated .deliver / .deliver! to .deliver_now / .deliver_now! 2014-08-20 17:48:34 +03:00
asset_host_test.rb fix tests on action_mailer 2014-10-07 17:40:59 -05:00
base_test.rb Fix assertion that was never run 2015-01-11 11:50:29 -08:00
delivery_methods_test.rb Deprecated .deliver / .deliver! to .deliver_now / .deliver_now! 2014-08-20 17:48:34 +03:00
i18n_with_controller_test.rb Deprecated .deliver / .deliver! to .deliver_now / .deliver_now! 2014-08-20 17:48:34 +03:00
log_subscriber_test.rb Deprecated .deliver / .deliver! to .deliver_now / .deliver_now! 2014-08-20 17:48:34 +03:00
mail_helper_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
mail_layout_test.rb Remove unnecessary setup and teardown. 2014-05-13 15:03:53 +08:00
message_delivery_test.rb Remove deprecated ActionMailer deliver & deliver! 2015-01-04 11:58:41 -03:00
test_case_test.rb [ActionMailer] Rename test/test_test to test/test_case_test 2014-08-30 14:38:33 +00:00
test_helper_test.rb Add assert_enqueued_emails and assert_no_enqueued_emails 2015-01-08 09:41:22 -05:00
url_test.rb let the AM test suite pass in 1.9 2014-11-24 22:03:54 -08:00