diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-18 00:20:09 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-19 15:18:49 +0300 |
commit | acfe25edc0083b5e51cf8021b862dc1419a4006e (patch) | |
tree | 0b1de326fefabae4358df31cf048ae57db651304 /spec/factories | |
parent | e4d2f9972cef6268166a31c20c062b2bf42d9ed7 (diff) |
Refactorize `ci_runner` factory and `let` definitions in runners API spec
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/runners.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb index db759eca9ac..265663e8453 100644 --- a/spec/factories/ci/runners.rb +++ b/spec/factories/ci/runners.rb @@ -25,14 +25,12 @@ FactoryGirl.define do "My runner#{n}" end - platform "darwin" + platform "darwin" + is_shared false + active true - factory :ci_shared_runner do + trait :shared do is_shared true end - - factory :ci_specific_runner do - is_shared false - end end end |