aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/mailers
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2014-08-12 18:24:19 +0000
committerAbdelkader Boudih <terminale@gmail.com>2014-08-13 11:36:32 +0000
commit67f8b6b2bc7e7eca8723996b1303c3fafa5ed39b (patch)
tree17d779714eb326cf6cfd679a64601a7072911ed0 /actionmailer/test/mailers
parent22ee993825897fe2adafebeed57158f0699b071b (diff)
downloadrails-67f8b6b2bc7e7eca8723996b1303c3fafa5ed39b.tar.gz
rails-67f8b6b2bc7e7eca8723996b1303c3fafa5ed39b.tar.bz2
rails-67f8b6b2bc7e7eca8723996b1303c3fafa5ed39b.zip
Added ActionMailer::DeliverLater
Diffstat (limited to 'actionmailer/test/mailers')
-rw-r--r--actionmailer/test/mailers/delayed_mailer.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionmailer/test/mailers/delayed_mailer.rb b/actionmailer/test/mailers/delayed_mailer.rb
new file mode 100644
index 0000000000..62d4baa434
--- /dev/null
+++ b/actionmailer/test/mailers/delayed_mailer.rb
@@ -0,0 +1,6 @@
+class DelayedMailer < ActionMailer::Base
+
+ def test_message(*)
+ mail(from: 'test-sender@test.com', to: 'test-receiver@test.com', subject: 'Test Subject', body: 'Test Body')
+ end
+end