Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clear ActionMailer deliveries on setup and teardown | arktisklada | 2016-04-25 | 1 | -1/+4 |
| | | | | Signed-off-by: Jeremy Daer <jeremydaer@gmail.com> | ||||
* | Small typo on a method name: | Edouard CHIN | 2016-04-15 | 1 | -2/+2 |
| | | | | - clear_test_deliviers -> clear_test_deliveries | ||||
* | fix class name typo. | Yves Senn | 2016-02-16 | 1 | -2/+2 |
| | |||||
* | reset `ActionMailer::Base.deliveries` in `ActionDispatch::IntegrationTest`. | Yves Senn | 2016-02-16 | 1 | -1/+16 |
| | | | | | | | | | Whenever you are sending emails in integration tests using the `:test` delivery method you need to make sure that `ActionMailer::Base.deliveries` is reset after every test. This piece of boilerplate code is present in all my applications that send emails. Let's have `ActionDispatch::IntegrationTest` reset the deliveries automatically. | ||||
* | action mailer test cases protected method can be `# :nodoc:` | Gaurav Sharma | 2015-10-04 | 1 | -5/+5 |
| | |||||
* | Only include the needed assertions | Rafael Mendonça França | 2014-10-07 | 1 | -1/+2 |
| | |||||
* | fix tests on action_mailer | schneems | 2014-10-07 | 1 | -1/+1 |
| | | | Include appropriate helpers and use `assert_dom_equal` where applicable | ||||
* | Add `set_delivery_method` and `restore_delivery_method` to ↵ | Lucas Mazza | 2014-08-19 | 1 | -0/+9 |
| | | | | | | | | `ActionMailer::TestCase`. This way these methods are available outside the ActionMailer test suite, but they are still duplicated inside `test/abstract_unit` for test cases that don't inherit from the `ActionMailer::TestCase` class. | ||||
* | Include the selector assertions on the test case | Rafael Mendonça França | 2014-07-15 | 1 | -0/+2 |
| | | | | | We don't need to require users to include this module on ActionMailer::TestCase | ||||
* | Restore delivery method on teardowns. | Timm | 2014-06-16 | 1 | -3/+2 |
| | |||||
* | Restore test deliveries properly in ActionMailer. | Zuhao Wan | 2014-06-07 | 1 | -0/+8 |
| | | | | | | | | | | | `ActionMailer::Base.delivery_method` and `ActionMailer::Base.perform_deliveries` have leaked states. "delivery method can be customized per instance" and "delivery method can be customized in subclasses not changing the parent" in delivery_methods_test.rb will fail if test_helper_test.rb (in which TestHelperMailerTest is inherited from ActionMailer::TestCase) runs before it. | ||||
* | Inherit from MiniTest::Unit::TestCase instead of MiniTest::Spec | Rafael Mendonça França | 2012-12-31 | 1 | -7/+0 |
| | |||||
* | Also includes ConstantLookup dependency for controller and mailer tests | Andy Lindeman | 2012-09-26 | 1 | -0/+1 |
| | |||||
* | Support mailer tests using spec DSL | Mike Moore | 2012-09-24 | 1 | -3/+5 |
| | | | | | Improve how mailer tests to resolve mailers from the test name. Add tests for mailer tests using the minitest spec DSL. | ||||
* | Register mailer tests for minitest's spec DSL | Mike Moore | 2012-09-24 | 1 | -0/+7 |
| | |||||
* | load active_support/core_ext/class/attribute in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 |
| | |||||
* | test cases should inherit from AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -0/+1 |
| | |||||
* | Using InstanceMethods in a Concern is deprecated | Jeremy Kemper | 2011-11-30 | 1 | -10/+6 |
| | |||||
* | normalize arg for ActionMailer::TestCase tests method | Alexey Vakhov | 2011-10-03 | 1 | -1/+8 |
| | |||||
* | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 1 | -2/+5 |
| | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Removes unused vars | Santiago Pastorino | 2010-07-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move ActionMailer::TC to AV::TC::Behavior | David Chelimsky | 2010-06-12 | 1 | -37/+51 |
| | | | | | | [#4843 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Removing quoting.rb, upgrade to 2.1.3.6, changing all utf-8 references to ↵ | Mikel Lindsaar | 2010-04-11 | 1 | -3/+3 |
| | | | | UTF-8, updating tests where incorrect encoding | ||||
* | Delegated ActionMailer::Base.deliveries to Mail.deliveries, added callback ↵ | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -1/+1 |
| | | | | support in Mail to call ActionMailer on delivery, moved deliver to deprecated API in preparation for new API | ||||
* | Get rid of RAILS_ROOT deprecation on AM::TestCase. | José Valim | 2010-01-19 | 1 | -1/+1 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -3/+0 |
| | |||||
* | Adding :transfer_encoding -> :content_transfer_encoding as part of TmailCompat | Mikel Lindsaar | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | Remove unused code paths and require mail only when it's needed. | José Valim | 2009-12-28 | 1 | -0/+1 |
| | |||||
* | More updates... 45 errors left to get it working with Mail gem | Mikel Lindsaar | 2009-11-20 | 1 | -1/+1 |
| | |||||
* | Starting again on actionmailer integration with mail | Mikel Lindsaar | 2009-11-12 | 1 | -1/+1 |
| | |||||
* | use autoload instead of explicit requires for ActionMailer | Joshua Peek | 2008-11-23 | 1 | -1/+1 |
| | |||||
* | * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵ | Jeremy Kemper | 2008-01-05 | 1 | -22/+14 |
| | | | | | | | | | [Josh Peek] * TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that you don't have to call super in ActionMailer::TestCase#setup ↵ | David Heinemeier Hansson | 2008-01-03 | 1 | -1/+14 |
| | | | | | | (closes #10406) [jamesgolick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | mailer_class is a class method not an instance method. [josh] Closes #10041 | Michael Koziarski | 2007-11-21 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Introduce TestCase subclasses for testing rails applications allowing tests ↵ | Michael Koziarski | 2007-10-26 | 1 | -0/+59 |
to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |