diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-08 17:17:06 +0200 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-09 09:54:19 +0200 |
commit | 4c2cf90780632db93ac7a39513277f17f4bc3da8 (patch) | |
tree | 9e4be7f7ea27d065596c9766566c58a0a030efe5 /spec | |
parent | 2de674483aa881461d7afc55ee0d2fd7d9685806 (diff) | |
download | gitlab-ce-4c2cf90780632db93ac7a39513277f17f4bc3da8.tar.gz |
Add DB constraint ci_runners.runner_type not null
Diffstat (limited to 'spec')
-rw-r--r-- | spec/factories/ci/runners.rb | 2 |
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 |