debian-mirror-gitlab/spec/factories/sent_notifications.rb
2021-02-22 17:27:13 +05:30

10 lines
240 B
Ruby

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