Flowdock
method

setup

Importance_0
v2.0.0 - Show latest stable - 0 notes - Class: ActionMailer::TestCase
setup() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/test_case.rb, line 36
    def setup
      ActionMailer::Base.delivery_method = :test
      ActionMailer::Base.perform_deliveries = true
      ActionMailer::Base.deliveries = []

      @expected = TMail::Mail.new
      @expected.set_content_type "text", "plain", { "charset" => charset }
      @expected.mime_version = '1.0'
    end
Register or log in to add new notes.