Class: ActionMailer::TestCase
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::TestCase,
::ActiveSupport::DescendantsTracker,
::ActiveSupport::Testing::Declarative,
Minitest::Test
|
|
Instance Chain:
self,
Behavior,
Rails::Dom::Testing::Assertions::DomAssertions,
Rails::Dom::Testing::Assertions::SelectorAssertions,
TestHelper,
::ActiveSupport::Testing::ConstantLookup,
::ActiveSupport::TestCase,
::ActiveRecord::TestFixtures,
::ActiveSupport::Testing::TimeHelpers,
::ActiveSupport::Testing::Assertions,
::ActiveSupport::Callbacks,
::ActiveSupport::Testing::SetupAndTeardown,
Minitest::Test
|
|
Inherits: |
ActiveSupport::TestCase
|
Defined in: | actionmailer/lib/action_mailer/test_case.rb |
Constant Summary
::ActiveSupport::Callbacks - Inherited
::ActiveSupport::TestCase - Inherited
Behavior - Attributes & Methods
Class Attribute Summary
::ActiveSupport::TestCase - Inherited
.config, .config?, .fixture_class_names, .fixture_class_names?, .fixture_path, .fixture_path?, .fixture_table_names, .fixture_table_names?, .pre_loaded_fixtures, .pre_loaded_fixtures?, | |
.test_order | Returns the order in which test cases are run. |
.test_order= | Sets the order in which test cases are run. |
.use_instantiated_fixtures, .use_instantiated_fixtures?, .use_transactional_fixtures, .use_transactional_fixtures? |
Class Method Summary
::ActiveSupport::TestCase - Inherited
::ActiveSupport::DescendantsTracker - Inherited
clear, descendants, direct_descendants, | |
store_inherited | This is the only method that is not thread safe, but is only ever called during the eager loading phase. |
::ActiveSupport::Testing::Declarative - Extended
Instance Attribute Summary
::ActiveSupport::TestCase - Inherited
::ActiveRecord::TestFixtures - Included
Instance Method Summary
TestHelper - Included
#assert_emails | Asserts that the number of emails sent matches the given number. |
#assert_no_emails | Assert that no emails have been sent. |
::ActiveSupport::TestCase - Inherited
#assert_no_match, #assert_not_empty, #assert_not_equal, #assert_not_in_delta, #assert_not_in_epsilon, #assert_not_includes, #assert_not_instance_of, #assert_not_kind_of, #assert_not_nil, #assert_not_operator, #assert_not_predicate, #assert_not_respond_to, #assert_not_same, | |
#assert_nothing_raised | Fails if the block raises an exception. |
#assert_raise | test/unit backwards compatibility methods. |
#method_name |
::ActiveRecord::TestFixtures - Included
::ActiveSupport::Testing::TimeHelpers - Included
#travel | Changes current time to the time in the future or in the past by a given time difference by stubbing |
#travel_back | Returns the current time back to its original state, by removing the stubs added by |
#travel_to | Changes current time to the given time by stubbing |
::ActiveSupport::Testing::Assertions - Included
#assert_difference | Test numeric difference between the return value of an expression as a result of what is evaluated in the yielded block. |
#assert_no_difference | Assertion that the numeric result of evaluating an expression is not changed before and after invoking the passed in block. |
#assert_not | Assert that an expression is not truthy. |
::ActiveSupport::Callbacks - Inherited
#run_callbacks | Runs the callbacks for the given event. |
Class Attribute Details
._mailer_class (rw)
[ GitHub ]# File 'actionmailer/lib/action_mailer/test_case.rb', line 23
class_attribute :_mailer_class
._mailer_class? ⇒ Boolean
(rw)
[ GitHub ]
# File 'actionmailer/lib/action_mailer/test_case.rb', line 23
class_attribute :_mailer_class
Instance Attribute Details
#_mailer_class (rw)
[ GitHub ]# File 'actionmailer/lib/action_mailer/test_case.rb', line 23
class_attribute :_mailer_class
#_mailer_class? ⇒ Boolean
(rw)
[ GitHub ]
# File 'actionmailer/lib/action_mailer/test_case.rb', line 23
class_attribute :_mailer_class