Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-02-18 00:20:09 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2016-02-19 15:18:49 +0300
commitacfe25edc0083b5e51cf8021b862dc1419a4006e (patch)
tree0b1de326fefabae4358df31cf048ae57db651304 /spec/factories/ci
parente4d2f9972cef6268166a31c20c062b2bf42d9ed7 (diff)
Refactorize `ci_runner` factory and `let` definitions in runners API spec
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/runners.rb10
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