diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-10-27 19:06:46 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-10-27 19:06:46 +0200 |
commit | 9ba72fe09aaf3bf903494f09fe8896012e962c98 (patch) | |
tree | 29597094f94719bed139a7792e1289abbd5967d1 /spec/lib/gitlab/ci/config | |
parent | ff1795713e7029e40b11888debe577294dd9754f (diff) | |
download | gitlab-ce-9ba72fe09aaf3bf903494f09fe8896012e962c98.tar.gz |
Change minimum parallel value to 2
Diffstat (limited to 'spec/lib/gitlab/ci/config')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/job_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/job_spec.rb b/spec/lib/gitlab/ci/config/entry/job_spec.rb index 718098c364e..f1a2946acda 100644 --- a/spec/lib/gitlab/ci/config/entry/job_spec.rb +++ b/spec/lib/gitlab/ci/config/entry/job_spec.rb @@ -147,13 +147,13 @@ describe Gitlab::Ci::Config::Entry::Job do end end - context 'when it is lower than one' do - let(:config) { { parallel: 0 } } + context 'when it is lower than two' do + let(:config) { { parallel: 1 } } it 'returns error about value too low' do expect(entry).not_to be_valid expect(entry.errors) - .to include 'job parallel must be greater than or equal to 1' + .to include 'job parallel must be greater than or equal to 2' end end |