Make Notify#new_issue_email resque friendly.
This commit is contained in:
parent
2d124d9496
commit
39061af9f8
3 changed files with 5 additions and 8 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue