debian-mirror-gitlab/spec/factories/sent_notifications.rb
2017-08-17 22:00:37 +05:30

8 lines
224 B
Ruby

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