summaryrefslogtreecommitdiff
path: root/spec/factories/project_auto_devops.rb
blob: b77f702f9e16eacd2099853c7d329dbb27a74774 (plain)
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