aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
Commit message (Collapse)AuthorAgeFilesLines
* mailer can be anonymousSergey Nartimov2012-05-132-0/+14
| | | | closes #5970
* Remove useless load path modificationsSantiago Pastorino2012-05-111-3/+0
|
* No need to work around 1.8 warnings anymore.Marcelo Silveira2012-05-031-13/+1
|
* Clean up some straggling build failuresJose and Yehuda2012-04-242-3/+3
|
* Add ability to define callbacks in ActionMailer using ↵Justin S. Leitgeb2012-03-111-0/+46
| | | | | | | | | | | | | | | | | AbstractController::Callbacks. Prior to this commit, there isn't a good way of adding things like default inline attachments to an email. This Stack Overflow thread shows people using hooks like the 'default' method in ActionMailer::Base to call a Proc for message configuration: http://stackoverflow.com/questions/5113121/rails-use-same-attachment-for-all-emails-using-layout This has the unintended side effect of setting a message header, so it's not a good solution. This pull request adds support for message modifications by including AbstractController:Callbacks in ActionMailer::Base. It includes tests and documentation for the functionality provided by including this module.
* Fix broken testsSantiago Pastorino2012-03-101-0/+2
|
* Fix actionmailer tests broken by #4751a69Justin S. Leitgeb2012-03-101-1/+1
|
* Fix AM format_paragraph helper method if a first word is longAlexey Vakhov2012-02-151-0/+13
|
* Cosmetic fixes in block_format AM helper method + testAlexey Vakhov2012-02-151-0/+31
|
* require minitest rather than test/unitAaron Patterson2012-01-061-1/+1
|
* test cases should inherit from AS::TestCaseAaron Patterson2012-01-052-2/+2
|
* remove checks for encodings availabilitySergey Nartimov2011-12-251-2/+2
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-8/+5
|
* normalize arg for ActionMailer::TestCase tests methodAlexey Vakhov2011-10-031-0/+28
|
* Get rid of update_details in favor of passing details to find_template.José Valim2011-09-221-1/+1
|
* fixed test_deliver_is_notified need base_mailerArun Agrawal2011-05-251-0/+1
|
* Removed deprecated ActionMailer API and related testsJosh Kalderimis2011-05-245-1324/+3
|
* Updating to use Mail v2.3.0Mikel Lindsaar2011-04-261-5/+5
| | | | | | Need to move the require of mail in test/abstract_unit to be after active support to make sure we use ActiveSupport multibyte handlers, otherwise, Mail will load its internal multibyte compat
* remove AM delegating register_observer and register_interceptor to Mail and ↵Josh Kalderimis2011-04-041-0/+40
| | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com>
* publicise ActionMailer::MailHelper.format_paragraphDiego Carrion2011-03-091-0/+13
| | | | | | [#6550 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fixed indentation in actionmailer base_test [#6538 state:committed]Dalibor Nasevic2011-03-071-2/+2
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* No need of instance variableDalibor Nasevic2011-03-021-3/+3
| | | | | | [#6502 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fixed typos in asset_host_testDalibor Nasevic2011-03-021-2/+2
| | | | | | [#6501 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* removing text-format in favor of a more simple solutionAaron Patterson2011-02-091-2/+1
|
* Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵José Valim2011-01-191-10/+6
| | | | state:resolved]
* Added a testcase for bug [#5329]Frank Fischer2011-01-192-0/+54
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* turn off deprecation silencingAaron Patterson2011-01-121-1/+8
|
* Remove old workaround for mocha bug. [#3886 state:committed]James Mead2010-10-081-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix action mailer tests after old mapper removalPiotr Sarnacki2010-09-051-5/+3
|
* Deprecate the old mailer API that was not deprecated yet.José Valim2010-08-2910-80/+40
|
* Remove the deprecated API from ActionMailer.José Valim2010-08-292-119/+1
|
* Ensure templates like template.html are found but still uses the proper ↵José Valim2010-08-263-0/+11
| | | | virtual path.
* Silence warnings for Encoding.default_external= and Encoding.default_internal=Santiago Pastorino2010-08-221-3/+6
|
* Set default_internal and default_external on AM for testing purposesSantiago Pastorino2010-08-211-1/+8
|
* Fixes some ActionMailer testsSantiago Pastorino2010-08-143-4/+4
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-1419-61/+61
| | | | 's/[ \t]*$//' -i {} \;)
* Reload action_methods in AbstractController after defining new method.Piotr Sarnacki2010-08-041-0/+12
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Move config_accessor :asset_host from ActionController::Base to ↵Jeroen van Dijk and Josh Kalderimis2010-07-245-129/+165
| | | | | | | | AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option
* Avoids deprecation warning running testsSantiago Pastorino2010-07-041-5/+7
|
* Time has it own implementation of xmlschema, now AMo doesn't depend on TZInfoSantiago Pastorino2010-07-021-0/+1
| | | | | | [#4979 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-4/+4
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Fixes encoding mistakes on old_base/mail_service testsSantiago Pastorino2010-06-231-3/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Move ActionMailer::TC to AV::TC::BehaviorDavid Chelimsky2010-06-121-0/+2
| | | | | | [#4843 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* subject is automatically looked up on I18n using mailer_name and action_name ↵José Valim2010-06-121-1/+1
| | | | as scope as in t('.subject')
* Adding inline attachment support to ActionMailerMikel Lindsaar2010-06-073-0/+26
|
* Updating ActionMailer to Mail 2.2.2 (fixing two tests to suit)Mikel Lindsaar2010-06-071-3/+3
|
* Use better assertion methods for testingNeeraj Singh2010-05-195-20/+20
| | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Use assert_equal correctly in actionmailer test (exposing one as broken)Neeraj Singh2010-05-181-2/+3
| | | | | | [#4626 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Changed encoding behaviour of mail, so updated tests in actionmailer and ↵Mikel Lindsaar2010-05-141-3/+3
| | | | | | bumped mail version to 2.2.1 Signed-off-by: José Valim <jose.valim@gmail.com>
* Adding ability for the procs to be called within the instance, allows you to ↵Mikel Lindsaar2010-05-021-1/+14
| | | | | | pass results from instance methods to the mail header Signed-off-by: José Valim <jose.valim@gmail.com>