debian-mirror-gitlab/spec/factories/sent_notifications.rb
2017-09-10 17:25:29 +05:30

8 lines
200 B
Ruby

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