summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
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 60c8c8ab9a0..40a51437908 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -59,7 +59,7 @@ describe Notify do
let(:issue) { Factory.create(:issue, :assignee => assignee, :project => project ) }
describe 'that are new' do
- subject { Notify.new_issue_email(issue) }
+ subject { Notify.new_issue_email(issue.id) }
it_behaves_like 'an assignee email'