Flowdock
method

tests

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionMailer::TestCase::Behavior::ClassMethods
tests(mailer) 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 26
        def tests(mailer)
          case mailer
          when String, Symbol
            self._mailer_class = mailer.to_s.camelize.constantize
          when Module
            self._mailer_class = mailer
          else
            raise NonInferrableMailerError.new(mailer)
          end
        end
Register or log in to add new notes.