1 2 3 4 5 6 7
FactoryBot.define do factory :subscription do project user { project.creator } subscribable factory: :issue end end