aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Set default charset of MTAs to ISO instead of us-ascii (unless reported ↵Tobias Lütke2007-10-091-2/+42
| | | | | | otherwise) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disable the routing optimisation code when dealing with foo_url helpers. ↵Michael Koziarski2007-09-222-2/+6
| | | | | | Add test to actionmailer to expose the problem they introduced. References #9450 [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test requirement fix (closes #9276) [lazyatom]David Heinemeier Hansson2007-09-221-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved test coverage (closes #7571) [joost]David Heinemeier Hansson2007-09-221-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix attachment decoding when using the TMail C extension. Closes #7861.Jeremy Kemper2007-09-144-1/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase mail delivery test coverage. Closes #8692.Jeremy Kemper2007-06-202-2/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed svn adds. References #7534.Jeremy Kemper2007-06-082-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Register alternative template engines using ↵Jeremy Kemper2007-06-071-1/+40
| | | | | | ActionMailer::Base.register_template_extension('haml'). Closes #7534. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure parsed emails recognize attachments nested in multpart parts ↵Jamis Buck2007-02-222-0/+108
| | | | | | (closes #6714) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken testsJamis Buck2007-02-221-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Apply the rest of Chads patchDavid Heinemeier Hansson2007-02-2128-34/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Test Coverage for raise_delivery_errors. [kevinclark] closes #7152Michael Koziarski2007-01-212-0/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow mailer actions named send by using __send__ internally. Closes #6467.Jeremy Kemper2006-11-131-0/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add assert_emails and assert_no_emails to test the number of emails ↵Jeremy Kemper2006-11-055-7/+86
| | | | | | delivered. Closes #6479. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make mime version default to 1.0. closes #2323Jamis Buck2006-09-093-43/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure quoted-printable text is decoded correctly when only portions of ↵Jamis Buck2006-09-092-1/+20
| | | | | | the text are encoded. closes #3154. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure DOS newlines in quoted-printable text are normalized to unix ↵Jamis Buck2006-09-092-0/+21
| | | | | | newlines before unquoting. closes $166 and #4452 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* set ActiveSupport::Deprecation.debug = true to see backtraces for ↵Jeremy Kemper2006-09-041-0/+3
| | | | | | deprecation callers. off by default. on for Rails tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test for custom headers on parts (closes #3043)David Heinemeier Hansson2006-09-021-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically included ActionController::UrlWriter, such that URL generation ↵David Heinemeier Hansson2006-08-252-0/+91
| | | | | | can happen within ActionMailer controllers. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add forgotten test/abstract_unitJeremy Kemper2006-07-031-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mailer template root applies to a class and its subclasses rather than ↵Jeremy Kemper2006-06-305-33/+19
| | | | | | acting globally. Closes #5555. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4730@asus: jeremy | 2006-06-29 13:13:38 -0700Jeremy Kemper2006-06-291-1/+1
| | | | | | | Avoid naming collision among compiled view methods. Back out AM workaround. References #5520. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resolve conflict among mailer actions with the same name. Closes #5520.Jeremy Kemper2006-06-296-3/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nil charset caused subject line to be improperly quoted in implicitly ↵Jamis Buck2006-03-191-0/+13
| | | | | | multipart messages (closes #2662) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Parse content-type apart before using it so that sub-parts of the header can ↵Jamis Buck2006-03-181-0/+14
| | | | | | be set correctly (closes #2918) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make custom headers work in subparts (closes #4034)Jamis Buck2006-03-181-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TMail::Mail#has_attachments? use logic from #attachment? (closes #3815) ↵David Heinemeier Hansson2006-02-251-0/+1
| | | | | | [devslashnull@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Template paths with dot chars in them no longer mess up implicit template ↵Jamis Buck2006-01-292-1/+21
| | | | | | selection for multipart messages (closes #3332) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure anything with content-disposition of "attachment" is passed to the ↵Jamis Buck2006-01-232-1/+11
| | | | | | attachment presenter when parsing an email body git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure TMail#attachments includes anything with content-disposition of ↵Jamis Buck2006-01-232-0/+36
| | | | | | "attachment", regardless of content-type git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stricter matching for implicitly multipart filenames excludes files ending ↵Jeremy Kemper2005-11-152-0/+2
| | | | | | in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml). Closes #2398. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de