aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/test_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add new class delivery method API.José Valim and Mikel Lindsaar2010-01-241-12/+12
|
* Migrated over to Mail doing delivery.Mikel Lindsaar2010-01-161-1/+1
|
* Updating to Mail 1.5.0, including default values for all Message#field_name ↵Mikel Lindsaar2010-01-021-2/+2
| | | | methods, can access field objects by calling Message#[:field_name]
* Getting rid of some warnings in AM suite.José Valim2009-12-271-3/+3
|
* 131 tests, 309 assertions, 0 failures, 0 errorsMikel Lindsaar2009-11-221-4/+4
|
* Starting again on actionmailer integration with mailMikel Lindsaar2009-11-121-2/+2
|
* Make tests run without deprecation warning (just one left).José Valim2009-11-011-1/+3
|
* abstract all of the ActionMailer delivery methods into their own classes. ↵Matthew Rudy Jacobs2009-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | thereby the following are equivalent ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.delivery_method = ActionMailer::DeliveryMethod::Smtp we could equally set our own custom object as long as it provides the instance method :perform_delivery(mail) eg. class MySmsDeliveryMethod def perform_delivery(mail) Sms.send(mail['to'], mail['body']) end end MySmsMailer.delivery_method = MySmsDeliveryMethod.new Signed-off-by: José Valim <jose.valim@gmail.com>
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-4/+4
| | | | [#1617 state:resolved]
* Fixed RFC-2045 quoted-printable bug [#1421 state:committed]Alexey Mahotkin2008-11-201-1/+1
| | | | | | | | | | | | | | | http://www.faqs.org/rfcs/rfc2045.html says: may be represented by an "=" followed by a two digit hexadecimal representation of the octet's value. The digits of the hexadecimal alphabet, for this purpose, are "0123456789ABCDEF". Uppercase letters must be used; lowercase letters are not allowed. ActionMailer, however, used "=%02x" specification. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Ruby 1.9 compat: check for minitest's assertion alsoJeremy Kemper2008-11-081-3/+3
|
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵Jeremy Kemper2008-01-051-8/+2
| | | | | | | | | [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
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that you don't have to call super in ActionMailer::TestCase#setup ↵David Heinemeier Hansson2008-01-031-0/+18
| | | | | | (closes #10406) [jamesgolick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TestCase subclasses for testing rails applications allowing tests ↵Michael Koziarski2007-10-261-5/+30
| | | | | | 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
* Increase mail delivery test coverage. Closes #8692.Jeremy Kemper2007-06-201-0/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add assert_emails and assert_no_emails to test the number of emails ↵Jeremy Kemper2006-11-051-0/+79
delivered. Closes #6479. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de