Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobb Kidd <robb@thekidds.org>2012-05-16 03:36:48 +0400
committerRobb Kidd <robb@thekidds.org>2012-05-16 06:37:34 +0400
commit39061af9f8f19d114b48f79a66c22116a52e57be (patch)
treebed3795b6de0b1effdcdb61aeddcf5764fb24019 /spec
parent2d124d9496ea2bca71a25a29a4301cc718b5001c (diff)
Make Notify#new_issue_email resque friendly.
Diffstat (limited to 'spec')
-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'