diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-04 20:14:04 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-01-31 20:31:21 +0300 |
commit | a2718ebaffd431b1eec91f3ee467d9632309b5f2 (patch) | |
tree | cb9953a334be6f4e026d1ed35ef57130b731d7e3 /spec/factories/sent_notifications.rb | |
parent | 9c34c023808b38303d4988a20f62645c552951e3 (diff) |
Make user/author use project.creator in most factories
Signed-off-by: Rémy Coutable <remy@rymai.me>
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 80872067233..b0174dd06b7 100644 --- a/spec/factories/sent_notifications.rb +++ b/spec/factories/sent_notifications.rb @@ -1,7 +1,7 @@ FactoryBot.define do factory :sent_notification do project - recipient factory: :user + recipient { project.creator } noteable { create(:issue, project: project) } reply_key { SentNotification.reply_key } end |