aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests broken by switch to PathnameJeremy Kemper2008-12-091-3/+3
|
* Register bogus template handlers for ActionMailer test fixturesJoshua Peek2008-12-032-0/+10
|
* Ensure ActionMailer doesn't blow up when a two argument proc is set for the ↵Tekin Suleyman2008-12-012-0/+55
| | | | | | | asset host Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1394 state:committed]
* Remove explicit tmail requires in favor of autoloadJeremy Kemper2008-11-231-1/+0
|
* ActionMailer should respect content type when choosing layoutsColin Curtin2008-11-214-0/+20
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 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>
* Merge branch 'master' into testingJeremy Kemper2008-11-151-0/+14
|\
| * Added lambda merging to OptionMerger (especially useful with named_scope and ↵David Heinemeier Hansson2008-11-151-0/+2
| | | | | | | | with_options) [#740 state:commited] (Paweł Kondzior)
| * Fixed method_missing for ActionMailer so it no longer matches methods where ↵Joel Chippindale2008-11-111-0/+4
| | | | | | | | | | | | deliver or create are not a suffix [#1318 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix for ActionMailer::Base.method_missing so that it raises NoMethodError ↵Joel Chippindale2008-11-111-0/+8
| | | | | | | | | | | | when no method is found [#1330 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Ruby 1.9 compat: check for minitest's assertion alsoJeremy Kemper2008-11-081-3/+3
|/
* Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and ↵Grant Hollingworth2008-11-062-2/+20
| | | | | | the SMTP server supports it [#1336 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fixed load path for actionmailer and activesupport tests to always load from ↵madlep2008-10-041-0/+2
| | | | | | | | local lib files. [#983 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Protect body ivar from being clobbered by the mailer template assignsJoshua Peek2008-09-282-0/+14
|
* Fixed problem causes by leftover backup templates ending in tilde ↵U-ESCAPEE\Mack2008-09-091-0/+10
| | | | | | [state:committed #969] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Revert "Revert "Add layout functionality to mailers.""David Heinemeier Hansson2008-09-096-0/+83
| | | | This reverts commit 36c6aa01ee0a7aee5b0510a8e649c44de318b060.
* Revert "Add layout functionality to mailers."David Heinemeier Hansson2008-09-096-83/+0
| | | | This reverts commit e9a8e0053be3b293ab89fb584f1d660063f107aa.
* Add layout functionality to mailers.Pratik Naik2008-08-316-0/+83
| | | | | Mailer layouts behaves just like controller layouts, except layout names need to have '_mailer' postfix for them to be automatically picked up.
* ActionMailer should respond_to? to methods handled by method_missing [#700 ↵James Mead2008-08-291-0/+52
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed old deprecation test because the warning was removed in 1129a24Joshua Peek2008-08-221-9/+3
|
* Ensure templates are rendered if all the parts are already processedJoshua Peek2008-08-131-0/+0
|
* Tidy up ActionMailer rendering logic to take advantage of view path cache ↵Joshua Peek2008-08-061-20/+11
| | | | instead of using file system lookups
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Only create a path for ActionMailer template root instead of a path set. ↵Joshua Peek2008-07-191-3/+3
| | | | Better fix than 7461227
* Update uses_mocha in ActionMailer and ActiveResourceJoshua Peek2008-07-191-5/+13
|
* Stubba is included in Mocha alreadyJoshua Peek2008-07-111-2/+1
|
* Replaced TemplateFinder abstraction with ViewLoadPathsJoshua Peek2008-06-171-3/+3
|
* Add ActionMailer#reply_to. [#245 state:resolved]Adam2008-05-291-0/+34
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Bah, don't test TMail in AMJeremy Kemper2008-04-033-19/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: compare with same encodingJeremy Kemper2008-04-032-11/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* force_encoding to ascii-8bit instead of nilJeremy Kemper2008-04-011-20/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: mark utf-8 encoding.Jeremy Kemper2008-03-311-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove empty .rhtml templatesJeremy Kemper2008-02-0716-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Less verbose mail logging: just recipients for :info log level; the whole ↵Jeremy Kemper2008-02-021-1/+2
| | | | | | email for :debug only. Closes #8000. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: test encoding fixes. Closes #10597 [murphy]Jeremy Kemper2008-01-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated TMail to version 1.2.1 [raasdnil]Rick Olson2008-01-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * 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-058-9/+9
| | | | 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
* Remove old tests which relied on @ being an ATOM to work around old Mail.app ↵Michael Koziarski2007-12-023-66/+4
| | | | | | bugs. Closes #10317 [mikel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow body to be specified for nested parts with action mailer. Closes ↵Michael Koziarski2007-11-291-0/+23
| | | | | | #10271 [redinger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update ActionMailer so it treats ActionView the same way that ↵Rick Olson2007-11-263-1/+14
| | | | | | ActionController does. Closes #10244 [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing sub template fixtures. References #10130 [java]Michael Koziarski2007-11-222-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that partial rendering should look at the type of the first render to ↵David Heinemeier Hansson2007-11-181-0/+11
| | | | | | determine its own type if no other clues are available (like when using text.plain.erb as the extension in AM) (closes #10130) [java] Fixed that partials would be broken when using text.plain.erb as the extension #10130 [java] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ActionMailer subclasses to individually set their delivery method (so ↵David Heinemeier Hansson2007-11-076-8/+89
| | | | | | two subclasses can have different delivery methods) (closes #10033) [zdennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update TMail to v1.1.0. Use an updated version of TMail if available. [mikel]Rick Olson2007-11-061-0/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test which fails without [8052] [Koz]Michael Koziarski2007-10-292-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TestCase subclasses for testing rails applications allowing tests ↵Michael Koziarski2007-10-262-5/+31
| | | | | | 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
* Missed mailer adds.Jeremy Kemper2007-10-162-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix silent failure of rxml templates. Closes #9879.Jeremy Kemper2007-10-151-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de