summaryrefslogtreecommitdiff
path: root/spec/factories/sent_notifications.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-03-21 09:28:47 -0600
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-05 17:44:14 +0100
commit874413cf701870a0fc1051f7c0a5fc4b4f884657 (patch)
tree6cb2917f6a72fc918c8f28d884597f36fe0de34b /spec/factories/sent_notifications.rb
parent79889a6aa3dc878d196d0f2f445ab6b10ef10c74 (diff)
downloadgitlab-ce-874413cf701870a0fc1051f7c0a5fc4b4f884657.tar.gz
Fix specs
Diffstat (limited to 'spec/factories/sent_notifications.rb')
-rw-r--r--spec/factories/sent_notifications.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/sent_notifications.rb b/spec/factories/sent_notifications.rb
index 0590bf999c0..99253be5a22 100644
--- a/spec/factories/sent_notifications.rb
+++ b/spec/factories/sent_notifications.rb
@@ -2,7 +2,7 @@ FactoryGirl.define do
factory :sent_notification do
project factory: :empty_project
recipient factory: :user
- noteable factory: :issue
+ noteable { create(:issue, project: project) }
reply_key { SentNotification.reply_key }
end
end