method

set_expected_mail

rails latest stable - Class: ActionMailer::TestCase::Behavior::InstanceMethods

Method deprecated or moved

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

set_expected_mail()
protected

No documentation available.

# File actionmailer/lib/action_mailer/test_case.rb, line 48
        def set_expected_mail
          @expected = Mail.new
          @expected.content_type ["text", "plain", { "charset" => charset }]
          @expected.mime_version = '1.0'
        end