summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorRobb Kidd <robb@thekidds.org>2012-05-15 19:36:48 -0400
committerRobb Kidd <robb@thekidds.org>2012-05-15 22:37:34 -0400
commit39061af9f8f19d114b48f79a66c22116a52e57be (patch)
treebed3795b6de0b1effdcdb61aeddcf5764fb24019 /spec/mailers
parent2d124d9496ea2bca71a25a29a4301cc718b5001c (diff)
downloadgitlab-ce-39061af9f8f19d114b48f79a66c22116a52e57be.tar.gz
Make Notify#new_issue_email resque friendly.
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'