aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/delivery_methods_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-5/+5
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* applies new string literal convention in actionmailer/testXavier Noria2016-08-061-7/+7
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Sendmail default arguments match Mail::SendMailarktisklada2016-04-051-1/+1
| | | | Removes `-t`
* tests, define `Rails.root` before loading Action Mailer.Yves Senn2015-11-041-2/+2
| | | | | | | | | | | | | | | | | Since `bin/test` would define `Rails.root` before loading AM but `bundle exec rake` would define it after loading AM, this lead to the following test failure when using `bin/test`: ``` --- expected +++ actual @@ -1 +1 @@ -{:location=>"/var/folders/_r/9kh50y4j0vn7zgg2p65z1lcm0000gn/T/mails"} +{:location=>"/Users/senny/Projects/rails/actionmailer/tmp/mails"} ``` This patch ensures that `Rails.root` is defined when loading AM to achieve consistent test results.
* Added assertion for error messages for nil and unknown delivery methodsRonak Jangir2015-09-221-2/+4
| | | As `deliver_now` `RuntimeError` for both nil & unknown delivery method so it’s good to have assertion for error messages
* Removed mocha from ActionMailerRonak Jangir2015-08-201-9/+17
|
* not needed require'sAnkit Gupta2015-05-101-1/+0
| | | | | - as core_ext is not used and test pass locally - mail is already required in abstract_unit
* Deprecated .deliver / .deliver! to .deliver_now / .deliver_now!Cristian Bica2014-08-201-12/+12
|
* add test coverage for the action mailerDmitry Polushkin2014-07-041-1/+1
|
* Move state restoration from setup/teardown into affected test cases.Zuhao Wan2014-05-131-30/+42
|
* add actionmailer test coverage for undefined delivery methodDmitry Polushkin2014-02-091-9/+20
|
* Don't mutate the Base settings by merge!ing the given valueAkira Matsuda2013-09-101-0/+3
|
* Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-3/+0
| | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake.
* Don't mutate the Base settings by merge!ing the given valueAkira Matsuda2013-07-261-0/+3
|
* Update actionmailer with new hash syntax.Kirill Nikitin2012-10-071-26/+26
|
* Allow delivery method options to be set per mail instanceAditya Sanghi2012-09-041-0/+39
|
* Revert "Merge pull request #7202 from asanghi/perform_deliveries_in_mail"José Valim2012-08-071-13/+0
| | | | | | Reverting because it feels backward to specify a delivery to not be performed while the e-mail is being composed. It is simpler (and makes more sense) to delegate the responsibility to the calling code.
* allow perform deliveries to be set within mailer actionAditya Sanghi2012-07-301-0/+13
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-3/+3
| | | | 's/[ \t]*$//' -i {} \;)
* Convert to class_attributeJeremy Kemper2010-02-011-2/+4
|
* Got AM working with Mail yield on delivery_handler and updated testsJosé Valim and Mikel Lindsaar2010-01-251-2/+2
|
* Added delivery_handler method to mail and implemented in ActionMailer to ↵José Valim and Mikel Lindsaar2010-01-251-5/+25
| | | | deliver inside of instrumentation
* Add tests to mail helper.José Valim and Mikel Lindsaar2010-01-241-30/+30
|
* Move old tests to a specific folder and add some delivery method tests.José Valim and Mikel Lindsaar2010-01-241-17/+95
|
* Finish cleaning up delivery methods implementation.José Valim and Mikel Lindsaar2010-01-241-0/+72