summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-10-04 07:58:34 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-10-04 07:58:34 +0000
commitc958c201b72577eb01662cc1dac0f253e3d3e6db (patch)
tree26f52060490aaee5c2695e34c57b812383d834a3 /spec/support
parent912e6b0b3d887b86bf41066062376438d3377da7 (diff)
parentba4a442996d322ca736c97ff6e7f7fdf3860d36a (diff)
downloadgitlab-ce-c958c201b72577eb01662cc1dac0f253e3d3e6db.tar.gz
Merge branch '31050-registry-image-lists' into 'master'
Lazy load and paginate registry image list Closes #31050 See merge request gitlab-org/gitlab-ce!14303
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/stub_gitlab_calls.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/stub_gitlab_calls.rb b/spec/support/stub_gitlab_calls.rb
index 78a2ff73746..5f22d886910 100644
--- a/spec/support/stub_gitlab_calls.rb
+++ b/spec/support/stub_gitlab_calls.rb
@@ -39,11 +39,11 @@ module StubGitlabCalls
.and_return({ 'tags' => tags })
allow_any_instance_of(ContainerRegistry::Client)
- .to receive(:repository_manifest).with(repository)
+ .to receive(:repository_manifest).with(repository, anything)
.and_return(stub_container_registry_tag_manifest)
allow_any_instance_of(ContainerRegistry::Client)
- .to receive(:blob).with(repository)
+ .to receive(:blob).with(repository, anything, 'application/octet-stream')
.and_return(stub_container_registry_blob)
end