aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/base_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding options to register observers and interceptors through ↵Mikel Lindsaar2010-02-221-0/+26
| | | | | | ActionMailer::Base.register_observer and ActionMailer::Base.register_interceptor. These hook into Mail.register_interceptor and Mail.register_observer. Also bumped Mail requirement to 2.1.3 Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow to choose the template path and template name used in implicit ↵José Valim2010-02-191-21/+36
| | | | rendering with ActionMailer.
* Fixing actionmailer tests for CIMikel Lindsaar2010-02-061-1/+2
|
* Make AM test suite green.José Valim2010-02-011-2/+2
|
* Convert to class_attributeJeremy Kemper2010-02-011-14/+10
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-16/+17
|
* Add a failing test case for render :layoutMikel Lindsaar2010-01-291-0/+15
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Added tests for rendering different template for new APIMikel Lindsaar2010-01-291-0/+14
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Rename 'defaults' class method to 'default' to reflect that it's a declarationJeremy Kemper2010-01-271-5/+5
|
* Fix time comparison. Mail#date returns DateTime not Time.Jeremy Kemper2010-01-271-1/+1
|
* Expected attachment encoding is binaryJeremy Kemper2010-01-271-2/+4
|
* Fixed bug on HTML only emails getting set to text/plainMikel Lindsaar2010-01-281-0/+18
|
* Tidy up tests and docs.José Valim and Mikel Lindsaar2010-01-261-18/+19
|
* Fixing up tests and docs to use defaults :from => 'name' instead of ↵Mikel Lindsaar2010-01-271-3/+3
| | | | defaults({:from => 'name'})
* Fixed up documentation to reflect code change and cleaned up tests of ↵Mikel Lindsaar2010-01-271-38/+39
| | | | spurious #deliver calls
* Fixed up being able to pass random headers in with headers, or mail. Also, ↵Mikel Lindsaar2010-01-271-5/+30
| | | | undeprecated headers(hash) as this works now too
* Make defaults accept a hash.José Valim and Mikel Lindsaar2010-01-261-42/+43
|
* Fixing up expectations in base_test.rbMikel Lindsaar2010-01-261-10/+10
|
* Implementing class level :defaults hash, instead of delivers_from et alMikel Lindsaar2010-01-261-3/+23
|
* Fix small typo.José Valim and Mikel Lindsaar2010-01-261-1/+1
|
* Merge branch 'master' of github.com:mikel/railsJosé Valim and Mikel Lindsaar2010-01-261-9/+14
|\
| * Refactor content type setting, added tests to ensure boundary exists on ↵José Valim and Mikel Lindsaar2010-01-261-9/+14
| | | | | | | | multipart and fixed typo
* | Remove old files, add some information to docs and improve test suite.José Valim and Mikel Lindsaar2010-01-261-0/+24
|/
* Got AM working with Mail yield on delivery_handler and updated testsJosé Valim and Mikel Lindsaar2010-01-251-0/+7
|
* Added delivery_handler method to mail and implemented in ActionMailer to ↵José Valim and Mikel Lindsaar2010-01-251-1/+6
| | | | deliver inside of instrumentation
* Added delivers_from.José Valim and Mikel Lindsaar2010-01-251-3/+6
|
* Add some view paths tests.José Valim and Mikel Lindsaar2010-01-251-23/+42
|
* Ensure implicit multipart templates with locale works as expected.José Valim and Mikel Lindsaar2010-01-241-0/+27
|
* Move old tests to a specific folder and add some delivery method tests.José Valim and Mikel Lindsaar2010-01-241-8/+0
|
* Add new class delivery method API.José Valim and Mikel Lindsaar2010-01-241-81/+54
|
* Adding failing tests for calling just the action, instead of ↵José Valim and Mikel Lindsaar2010-01-241-1/+15
| | | | :create_action_name and :deliver_action_name
* Moving AS::Notifications call to one location in baseJosé Valim and Mikel Lindsaar2010-01-241-5/+2
|
* Delegated ActionMailer::Base.deliveries to Mail.deliveries, added callback ↵José Valim and Mikel Lindsaar2010-01-241-0/+9
| | | | support in Mail to call ActionMailer on delivery, moved deliver to deprecated API in preparation for new API
* Set sort order for explicit parts from the collector's template sequenceJosé Valim and Mikel Lindsaar2010-01-241-10/+9
|
* Add some tests to collector with templates and any.José Valim and Mikel Lindsaar2010-01-231-11/+46
|
* Make implicit and explicit templates pass through the same part creation ↵José Valim and Mikel Lindsaar2010-01-231-12/+25
| | | | process.
* Added basic explicit multipart rendering and testsJosé Valim and Mikel Lindsaar2010-01-231-11/+56
|
* Get implicit multipart and attachments working together.José Valim and Mikel Lindsaar2010-01-221-18/+78
|
* First work on implicit multipart.José Valim and Mikel Lindsaar2010-01-221-1/+17
|
* Add basic template rendering to new DSL.José Valim and Mikel Lindsaar2010-01-221-31/+35
|
* Add more tests to new API.José Valim and Mikel Lindsaar2010-01-221-33/+82
|
* Adding tests for attachments['blah.rb'] = {} et alJosé Valim and Mikel Lindsaar2010-01-211-1/+26
|
* Mail method accepting all headers set via the hashJosé Valim and Mikel Lindsaar2010-01-211-5/+27
|
* Created mail method for new APIJosé Valim and Mikel Lindsaar2010-01-201-4/+42
|
* Moved old API into deprecated_api.rb in preparation for new Rails 3 Mailer APIJosé Valim and Mikel Lindsaar2010-01-201-0/+39