gitlab-org--gitlab-foss/spec/factories/sent_notifications.rb

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