gitlab-org--gitlab-foss/spec/factories/sent_notifications.rb
2017-08-02 17:47:31 -04:00

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