diff options
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 11116af7dbb..f10a3235202 100644 --- a/spec/factories/sent_notifications.rb +++ b/spec/factories/sent_notifications.rb @@ -4,7 +4,7 @@ FactoryBot.define do factory :sent_notification do project recipient { project.creator } - noteable { create(:issue, project: project) } + noteable { association(:issue, project: project) } reply_key { SentNotification.reply_key } end end |