gitlab-org--gitlab-foss/spec/factories/sent_notifications.rb

9 lines
200 B
Ruby
Raw Normal View History

FactoryGirl.define do
factory :sent_notification do
project
recipient factory: :user
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 }
end
end