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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-03-21 18:28:47 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-05 19:44:14 +0300
commit874413cf701870a0fc1051f7c0a5fc4b4f884657 (patch)
tree6cb2917f6a72fc918c8f28d884597f36fe0de34b /spec/factories/sent_notifications.rb
parent79889a6aa3dc878d196d0f2f445ab6b10ef10c74 (diff)
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