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:
authorDylan Griffith <dyl.griffith@gmail.com>2018-05-08 18:17:06 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-09 10:54:19 +0300
commit4c2cf90780632db93ac7a39513277f17f4bc3da8 (patch)
tree9e4be7f7ea27d065596c9766566c58a0a030efe5 /spec/factories/ci/runners.rb
parent2de674483aa881461d7afc55ee0d2fd7d9685806 (diff)
Add DB constraint ci_runners.runner_type not null
Diffstat (limited to 'spec/factories/ci/runners.rb')
-rw-r--r--spec/factories/ci/runners.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb
index 34b8b246d0f..cdc170b9ccb 100644
--- a/spec/factories/ci/runners.rb
+++ b/spec/factories/ci/runners.rb
@@ -6,6 +6,7 @@ FactoryBot.define do
is_shared false
active true
access_level :not_protected
+ runner_type :project_type
trait :online do
contacted_at Time.now
@@ -13,6 +14,7 @@ FactoryBot.define do
trait :shared do
is_shared true
+ runner_type :instance_type
end
trait :specific do