Commit d53befb0d165df1f9b51c4cc1e19b6b4bcdf821d
1 parent
61833bcb
Exists in
master
and in
4 other branches
Fix mailer tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/mailers/notify_spec.rb
| ... | ... | @@ -266,7 +266,7 @@ describe Notify do |
| 266 | 266 | |
| 267 | 267 | before(:each) { note.stub(:noteable).and_return(commit) } |
| 268 | 268 | |
| 269 | - subject { Notify.note_commit_email(recipient.email, note.id) } | |
| 269 | + subject { Notify.note_commit_email(recipient.id, note.id) } | |
| 270 | 270 | |
| 271 | 271 | it_behaves_like 'a note email' |
| 272 | 272 | ... | ... |