Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/container_registry_spec.rb')
-rw-r--r--spec/features/container_registry_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/container_registry_spec.rb b/spec/features/container_registry_spec.rb
index 42431cbe731..fa7adbe71ea 100644
--- a/spec/features/container_registry_spec.rb
+++ b/spec/features/container_registry_spec.rb
@@ -12,7 +12,7 @@ describe "Container Registry" do
login_as(user)
project.add_developer(user)
stub_container_registry_config(enabled: true)
- stub_container_registry_tags(%w[latest])
+ stub_container_registry_tags(repository: :any, tags: [])
end
context 'when there are no image repositories' do
@@ -25,6 +25,7 @@ describe "Container Registry" do
context 'when there are image repositories' do
before do
+ stub_container_registry_tags(repository: %r{my/image}, tags: %w[latest])
project.container_repositories << container_repository
end