summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 15:37:21 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 15:37:21 +0200
commitd53befb0d165df1f9b51c4cc1e19b6b4bcdf821d (patch)
tree66e389daeed3431e06d29d66dbba5a72063bc125 /spec/mailers
parent61833bcb7457d98800c0581b6d09406929057a54 (diff)
downloadgitlab-ce-d53befb0d165df1f9b51c4cc1e19b6b4bcdf821d.tar.gz
Fix mailer tests
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/notify_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index d947f0e2882..befc10594db 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -266,7 +266,7 @@ describe Notify do
before(:each) { note.stub(:noteable).and_return(commit) }
- subject { Notify.note_commit_email(recipient.email, note.id) }
+ subject { Notify.note_commit_email(recipient.id, note.id) }
it_behaves_like 'a note email'