diff options
author | Robb Kidd <robb@thekidds.org> | 2012-05-15 19:21:12 -0400 |
---|---|---|
committer | Robb Kidd <robb@thekidds.org> | 2012-05-15 22:37:34 -0400 |
commit | 41c00a20a97e7ee3764822249d4bedc538c515aa (patch) | |
tree | 82e1b361b6a9a87b8ae93623fd10f46fe826c5ff /spec/mailers | |
parent | 0a9a2c2a0b75ba617611382b6335bf2b7fc68b9f (diff) | |
download | gitlab-ce-41c00a20a97e7ee3764822249d4bedc538c515aa.tar.gz |
Make Notify#note_wall_email resque friendly
Update method to take ids and then perform #finds itself during mailer
queue worker kick-off.
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/notify_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 7bf42671033..60c8c8ab9a0 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -174,7 +174,7 @@ describe Notify do describe 'on a project wall' do let(:note_on_the_wall_url) { wall_project_url(project, :anchor => "note_#{note.id}") } - subject { Notify.note_wall_email(recipient, note) } + subject { Notify.note_wall_email(recipient.id, note.id) } it_behaves_like 'a note email' |