diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-03-21 09:28:47 -0600 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-05 17:44:14 +0100 |
commit | 874413cf701870a0fc1051f7c0a5fc4b4f884657 (patch) | |
tree | 6cb2917f6a72fc918c8f28d884597f36fe0de34b /spec/factories/sent_notifications.rb | |
parent | 79889a6aa3dc878d196d0f2f445ab6b10ef10c74 (diff) | |
download | gitlab-ce-874413cf701870a0fc1051f7c0a5fc4b4f884657.tar.gz |
Fix specs
Diffstat (limited to 'spec/factories/sent_notifications.rb')
-rw-r--r-- | spec/factories/sent_notifications.rb | 2 |
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 |