Methods
- T
-
- test_assert_emails,
- test_assert_emails_too_few_sent,
- test_assert_emails_too_many_sent,
- test_assert_emails_with_no_block,
- test_assert_no_emails,
- test_assert_no_emails_failure,
- test_charset_is_utf_8,
- test_determine_default_mailer_raises_correct_error,
- test_mailer_class_is_correctly_inferred,
- test_repeated_assert_emails_calls,
- test_setup_creates_the_expected_mailer,
- test_setup_sets_right_action_mailer_options
Instance Public methods
test_assert_emails()
Link
test_assert_emails_too_few_sent()
Link
test_assert_emails_too_many_sent()
Link
# File actionmailer/test/test_helper_test.rb, line 93 def test_assert_emails_too_many_sent error = assert_raise ActiveSupport::TestCase::Assertion do assert_emails 1 do TestHelperMailer.test.deliver TestHelperMailer.test.deliver end end assert_match(/1 .* but 2/, error.message) end
test_assert_emails_with_no_block()
Link
test_assert_no_emails()
Link
test_assert_no_emails_failure()
Link
test_charset_is_utf_8()
Link
test_determine_default_mailer_raises_correct_error()
Link
test_mailer_class_is_correctly_inferred()
Link
test_repeated_assert_emails_calls()
Link
# File actionmailer/test/test_helper_test.rb, line 47 def test_repeated_assert_emails_calls assert_nothing_raised do assert_emails 1 do TestHelperMailer.test.deliver end end assert_nothing_raised do assert_emails 2 do TestHelperMailer.test.deliver TestHelperMailer.test.deliver end end end
test_setup_creates_the_expected_mailer()
Link
test_setup_sets_right_action_mailer_options()
Link