1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
FactoryBot.define do factory :project_auto_devops do project enabled true domain "example.com" deploy_strategy :continuous trait :manual do deploy_strategy :manual end trait :disabled do enabled false end end end