debian-mirror-gitlab/spec/factories/sent_notifications.rb
2019-10-12 21:52:04 +05:30

10 lines
235 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :sent_notification do
project
recipient { project.creator }
noteable { create(:issue, project: project) }
reply_key { SentNotification.reply_key }
end
end