summaryrefslogtreecommitdiff
path: root/spec/models/ci
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-10 14:30:45 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-10 14:30:45 +0900
commit40e17727c72904d947b2c281918e4dad71656f62 (patch)
tree5a6658adf044f09effb9591837d472c822db7d78 /spec/models/ci
parent7622f5ab079a16458f6e4583901060689734fe0e (diff)
parent93498185a762e4226c1838d3ea1dd2f2c018e339 (diff)
downloadgitlab-ce-40e17727c72904d947b2c281918e4dad71656f62.tar.gz
Merge branch 'master' into per-project-pipeline-iid
Diffstat (limited to 'spec/models/ci')
-rw-r--r--spec/models/ci/runner_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb
index fa9dff1c0f1..eb59ba7cbe9 100644
--- a/spec/models/ci/runner_spec.rb
+++ b/spec/models/ci/runner_spec.rb
@@ -3,6 +3,7 @@ require 'spec_helper'
describe Ci::Runner do
describe 'validation' do
it { is_expected.to validate_presence_of(:access_level) }
+ it { is_expected.to validate_presence_of(:runner_type) }
context 'when runner is not allowed to pick untagged jobs' do
context 'when runner does not have tags' do