diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 12:08:19 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 12:08:19 +0000 |
commit | e6baeabaa9651d90b03bb64ffce75a2c3cb89aab (patch) | |
tree | 85f3cbd6e437b17be59505cf3ac4794c1838609e /spec/factories | |
parent | 5064bf8c5647d4c4430cbb4d097cf1592416de29 (diff) | |
download | gitlab-ce-e6baeabaa9651d90b03bb64ffce75a2c3cb89aab.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 4 | ||||
-rw-r--r-- | spec/factories/snippets.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 446c1c59030..5bb7853a154 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -16,7 +16,7 @@ FactoryBot.define do options do { - image: 'ruby:2.1', + image: 'ruby:2.7', services: ['postgres'], script: ['ls -a'] } @@ -336,7 +336,7 @@ FactoryBot.define do trait :extended_options do options do { - image: { name: 'ruby:2.1', entrypoint: '/bin/sh' }, + image: { name: 'ruby:2.7', entrypoint: '/bin/sh' }, services: ['postgres', { name: 'docker:stable-dind', entrypoint: '/bin/sh', command: 'sleep 30', alias: 'docker' }], script: %w(echo), after_script: %w(ls date), diff --git a/spec/factories/snippets.rb b/spec/factories/snippets.rb index 3d99a04ea1a..21e1d911f96 100644 --- a/spec/factories/snippets.rb +++ b/spec/factories/snippets.rb @@ -28,7 +28,7 @@ FactoryBot.define do bare_repo: TestEnv.factory_repo_path_bare, refs: TestEnv::BRANCH_SHA) - snippet.track_snippet_repository + snippet.track_snippet_repository(snippet.repository.storage) end end |