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

9 lines
163 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :subscription do
project
user { project.creator }
subscribable factory: :issue
end
end