diff options
| author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-13 16:23:12 +0200 |
|---|---|---|
| committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-13 16:23:12 +0200 |
| commit | b1461de993daf6d43c8a54482eecacc6bb58df4d (patch) | |
| tree | 56ed0f0fda021640620a824a261170c8e14aca0e /spec/mailers | |
| parent | db3d90cbcb41c5b9a62998b185c90c10f9d03968 (diff) | |
| download | gitlab-ce-b1461de993daf6d43c8a54482eecacc6bb58df4d.tar.gz | |
Make Note methods saner
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 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) } |
