debian-mirror-gitlab/spec/factories/sent_notifications.rb
2018-03-17 18:26:18 +05:30

8 lines
204 B
Ruby

FactoryBot.define do
factory :sent_notification do
project
recipient { project.creator }
noteable { create(:issue, project: project) }
reply_key { SentNotification.reply_key }
end
end