diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-24 16:58:25 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-24 16:58:25 +0300 |
commit | 7ada193e0fd28b4a6eca1fda7dda6f0ebe6b2d72 (patch) | |
tree | 4d1d27067cfe327615873b4b36a569357de88067 /spec/support/stub_gitlab_calls.rb | |
parent | dce706bfcbddf7952e2c42c0c42825044cbb43a2 (diff) |
Fix specs for container repository destroy service
Diffstat (limited to 'spec/support/stub_gitlab_calls.rb')
-rw-r--r-- | spec/support/stub_gitlab_calls.rb | 3 |
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) |