BigW Consortium Gitlab

runners.rb 303 Bytes
Newer Older
1
FactoryGirl.define do
2
  factory :ci_runner, class: Ci::Runner do
3 4 5 6
    sequence :description do |n|
      "My runner#{n}"
    end

7 8 9
    platform  "darwin"
    is_shared false
    active    true
10

11
    trait :shared do
12 13
      is_shared true
    end
14 15 16 17

    trait :inactive do
      active false
    end
18 19
  end
end