debian-mirror-gitlab/spec/factories/subscriptions.rb
2018-03-17 18:26:18 +05:30

7 lines
132 B
Ruby

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