summaryrefslogtreecommitdiff
path: root/spec/support/stub_gitlab_calls.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-16 23:40:40 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-16 23:40:40 -0500
commitac6992ba682de08b79e5ddde08dbf566827e2f07 (patch)
tree8309357202f41c928b13b2d649cb50cd38011d04 /spec/support/stub_gitlab_calls.rb
parent0a6c3494b0326de4cdc35d6369f48810d8403f5a (diff)
downloadgitlab-ce-ac6992ba682de08b79e5ddde08dbf566827e2f07.tar.gz
Fix specs
Diffstat (limited to 'spec/support/stub_gitlab_calls.rb')
-rw-r--r--spec/support/stub_gitlab_calls.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/stub_gitlab_calls.rb b/spec/support/stub_gitlab_calls.rb
index 36e234c2e9c..f73416a3d0f 100644
--- a/spec/support/stub_gitlab_calls.rb
+++ b/spec/support/stub_gitlab_calls.rb
@@ -27,6 +27,7 @@ module StubGitlabCalls
def stub_container_registry_config(registry_settings)
allow(Gitlab.config.registry).to receive_messages(registry_settings)
+ allow(Auth::ContainerRegistryAuthenticationService).to receive(:full_access_token).and_return('token')
end
def stub_container_registry_tags(*tags)