From 39061af9f8f19d114b48f79a66c22116a52e57be Mon Sep 17 00:00:00 2001 From: Robb Kidd Date: Tue, 15 May 2012 19:36:48 -0400 Subject: Make Notify#new_issue_email resque friendly. --- spec/mailers/notify_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/mailers') 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' -- cgit v1.2.1