summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-04 11:13:12 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-04 11:13:12 +0200
commit7e46d0a95fc4ce8d0d66e75e6b1c4ef473606e79 (patch)
treebe4794daf54380332a36febdc95e34e67ee94bba /spec/controllers
parent4fab9f24c07af110441a6db6d4f4d26197c155b7 (diff)
downloadgitlab-ce-7e46d0a95fc4ce8d0d66e75e6b1c4ef473606e79.tar.gz
Fix container registry controller specs
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/registry/repositories_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/projects/registry/repositories_controller_spec.rb b/spec/controllers/projects/registry/repositories_controller_spec.rb
index 29f0a65483f..464302824a8 100644
--- a/spec/controllers/projects/registry/repositories_controller_spec.rb
+++ b/spec/controllers/projects/registry/repositories_controller_spec.rb
@@ -6,6 +6,7 @@ describe Projects::Registry::RepositoriesController do
before do
sign_in(user)
+ stub_container_registry_config(enabled: true)
end
context 'when user has access to registry' do