gitlab-org--gitlab-foss/spec/factories/sent_notifications.rb
2017-04-05 17:44:14 +01:00

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