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

9 lines
163 B
Ruby

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