summaryrefslogtreecommitdiff
path: root/spec/models/ci
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-25 12:08:19 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-25 12:08:19 +0000
commite6baeabaa9651d90b03bb64ffce75a2c3cb89aab (patch)
tree85f3cbd6e437b17be59505cf3ac4794c1838609e /spec/models/ci
parent5064bf8c5647d4c4430cbb4d097cf1592416de29 (diff)
downloadgitlab-ce-e6baeabaa9651d90b03bb64ffce75a2c3cb89aab.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/ci')
-rw-r--r--spec/models/ci/build_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 8c7969af177..88c26c92417 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1882,7 +1882,7 @@ describe Ci::Build do
describe '#options' do
let(:options) do
{
- image: "ruby:2.1",
+ image: "ruby:2.7",
services: ["postgres"],
script: ["ls -a"]
}
@@ -1893,11 +1893,11 @@ describe Ci::Build do
end
it 'allows to access with keys' do
- expect(build.options[:image]).to eq('ruby:2.1')
+ expect(build.options[:image]).to eq('ruby:2.7')
end
it 'allows to access with strings' do
- expect(build.options['image']).to eq('ruby:2.1')
+ expect(build.options['image']).to eq('ruby:2.7')
end
context 'when ci_build_metadata_config is set' do