method

set_expected_mail

rails latest stable - Class: ActionMailer::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

set_expected_mail()
protected

No documentation available.

# File actionmailer/lib/action_mailer/test_case.rb, line 45
      def set_expected_mail
        @expected = TMail::Mail.new
        @expected.set_content_type "text", "plain", { "charset" => charset }
        @expected.mime_version = '1.0'
      end