diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2011-02-20 21:33:44 +0200 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2011-02-22 17:53:53 +0200 |
commit | 4396a16a976a46b11ecf281b5be054a0379ff35b (patch) | |
tree | b845b08e14e8718760f54e2acd6fe5b94a216a4e /spec/models/email_answer_spec.rb | |
parent | Document need for gpgme in system. (diff) | |
download | recruiting-webapp-4396a16a976a46b11ecf281b5be054a0379ff35b.tar.gz recruiting-webapp-4396a16a976a46b11ecf281b5be054a0379ff35b.tar.bz2 recruiting-webapp-4396a16a976a46b11ecf281b5be054a0379ff35b.zip |
Fix deprecation warnings from delayed_job
Diffstat (limited to 'spec/models/email_answer_spec.rb')
-rw-r--r-- | spec/models/email_answer_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/email_answer_spec.rb b/spec/models/email_answer_spec.rb index b452a19..3e7096f 100644 --- a/spec/models/email_answer_spec.rb +++ b/spec/models/email_answer_spec.rb @@ -7,7 +7,7 @@ describe EmailAnswer do mail.subject = "#{question.id + 1}-#{recruit.token}" mail.from = recruit.email_address - UserMailer.should_receive(:send_later).with(:deliver_unrecognized_email, recruit, mail) + UserMailer.should_receive_delayed(:deliver_unrecognized_email, recruit, mail) EmailAnswer.answer_from_email(mail) end @@ -18,7 +18,7 @@ describe EmailAnswer do mail.subject = "#{question.id}-#{recruit.token}" mail.from = recruit.email_address - UserMailer.should_receive(:send_later).with(:deliver_unrecognized_email, recruit, mail) + UserMailer.should_receive_delayed(:deliver_unrecognized_email, recruit, mail) EmailAnswer.answer_from_email(mail) end |