summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-24 14:58:25 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-24 14:58:25 +0100
commit7ada193e0fd28b4a6eca1fda7dda6f0ebe6b2d72 (patch)
tree4d1d27067cfe327615873b4b36a569357de88067 /spec/support
parentdce706bfcbddf7952e2c42c0c42825044cbb43a2 (diff)
downloadgitlab-ce-7ada193e0fd28b4a6eca1fda7dda6f0ebe6b2d72.tar.gz
Fix specs for container repository destroy service
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/stub_gitlab_calls.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/stub_gitlab_calls.rb b/spec/support/stub_gitlab_calls.rb
index a01ef576234..3949784aabb 100644
--- a/spec/support/stub_gitlab_calls.rb
+++ b/spec/support/stub_gitlab_calls.rb
@@ -27,7 +27,8 @@ 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')
+ allow(Auth::ContainerRegistryAuthenticationService)
+ .to receive(:full_access_token).and_return('token')
end
def stub_container_registry_tags(*tags)