2017-12-13 19:13:44 -05:00
|
|
|
FactoryBot.define do
|
2016-02-16 22:55:24 -05:00
|
|
|
factory :sent_notification do
|
2017-08-02 15:55:11 -04:00
|
|
|
project
|
2017-08-04 13:14:04 -04:00
|
|
|
recipient { project.creator }
|
2017-03-21 11:28:47 -04:00
|
|
|
noteable { create(:issue, project: project) }
|
2017-03-17 15:25:52 -04:00
|
|
|
reply_key { SentNotification.reply_key }
|
2016-02-16 22:55:24 -05:00
|
|
|
end
|
|
|
|
end
|