Make Note methods saner
This commit is contained in:
parent
db3d90cbcb
commit
b1461de993
7 changed files with 39 additions and 18 deletions
|
@ -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) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue