Mike Moore
58434e05fe
Support mailer tests using spec DSL
...
Improve how mailer tests to resolve mailers from the test name.
Add tests for mailer tests using the minitest spec DSL.
2012-09-24 14:46:58 -06:00
Mike Moore
0ce383db58
Register mailer tests for minitest's spec DSL
2012-09-24 14:31:05 -06:00
Xavier Noria
5e1b92044c
load active_support/core_ext/class/attribute in active_support/rails
2012-08-02 21:59:23 +02:00
Aaron Patterson
5d09d395de
test cases should inherit from AS::TestCase
2012-01-05 17:05:43 -08:00
Jeremy Kemper
b757663af7
Using InstanceMethods in a Concern is deprecated
2011-11-30 10:06:07 -07:00
Alexey Vakhov
0defbc6bfe
normalize arg for ActionMailer::TestCase tests method
2011-10-03 14:27:41 +04:00
Josh Kalderimis
d7db6a8873
class inheritable attributes is used no more! all internal use of class inheritable has been changed to class_attribute. class inheritable attributes has been deprecated.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-20 19:40:29 +01:00
Santiago Pastorino
e1d4e78b15
Removes unused vars
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-24 01:19:44 +02:00
David Chelimsky
d588bbd431
Move ActionMailer::TC to AV::TC::Behavior
...
[#4843 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-12 15:34:31 +02:00
Mikel Lindsaar
dbcf01e631
Removing quoting.rb, upgrade to 2.1.3.6, changing all utf-8 references to UTF-8, updating tests where incorrect encoding
2010-04-11 18:04:55 +10:00
José Valim and Mikel Lindsaar
258ca14800
Delegated ActionMailer::Base.deliveries to Mail.deliveries, added callback support in Mail to call ActionMailer on delivery, moved deliver to deprecated API in preparation for new API
2010-01-24 11:15:42 +11:00
José Valim
fef5afa962
Get rid of RAILS_ROOT deprecation on AM::TestCase.
2010-01-19 16:13:27 +01:00
Joshua Peek
2601a16ede
Autoload AS test case
2010-01-04 16:22:46 -06:00
Mikel Lindsaar
a2880827b4
Adding :transfer_encoding -> :content_transfer_encoding as part of TmailCompat
2009-12-31 19:37:37 +11:00
José Valim
616ebb8f6a
Remove unused code paths and require mail only when it's needed.
2009-12-28 11:21:36 +01:00
Mikel Lindsaar
539d9b355f
More updates... 45 errors left to get it working with Mail gem
2009-11-20 14:10:57 +11:00
Mikel Lindsaar
15d7cac282
Starting again on actionmailer integration with mail
2009-11-12 16:08:50 +11:00
Joshua Peek
e201fc750b
use autoload instead of explicit requires for ActionMailer
2008-11-23 12:27:25 -06:00
Jeremy Kemper
139b92495f
* Continue evolution toward ActiveSupport::TestCase and friends. #10679 [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
2008-01-05 13:34:15 +00:00
David Heinemeier Hansson
6a6367d7d2
Fixed that you don't have to call super in ActionMailer::TestCase#setup ( closes #10406 ) [jamesgolick]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-03 00:40:28 +00:00
Michael Koziarski
cf1217a742
mailer_class is a class method not an instance method. [josh] Closes #10041
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-21 01:08:06 +00:00
Michael Koziarski
2cc0cac3ef
Introduce TestCase subclasses for testing rails applications allowing tests 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
2007-10-26 02:21:21 +00:00