diff options
Diffstat (limited to 'spec/mailers/notify_spec.rb')
| -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 4a9f142e50d..874864a3894 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -235,7 +235,7 @@ describe Notify do commit.stub(:safe_message).and_return('some message') end end - before(:each) { note.stub(:target).and_return(commit) } + before(:each) { note.stub(:noteable).and_return(commit) } subject { Notify.note_commit_email(recipient.id, note.id) } |
