diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 03:09:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 03:09:19 +0300 |
commit | 0a0e82d1440b06650e5fc524168b1f50a8feec68 (patch) | |
tree | c2202560fb250008cf4109e99537b10604faf01b /spec/controllers | |
parent | f82d5dcab7c3d9a672abc827c92f86887b683a7d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/groups/registry/repositories_controller_spec.rb | 2 | ||||
-rw-r--r-- | spec/controllers/projects/registry/repositories_controller_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/groups/registry/repositories_controller_spec.rb b/spec/controllers/groups/registry/repositories_controller_spec.rb index eb702d65325..3a74aa1dac0 100644 --- a/spec/controllers/groups/registry/repositories_controller_spec.rb +++ b/spec/controllers/groups/registry/repositories_controller_spec.rb @@ -93,7 +93,7 @@ describe Groups::Registry::RepositoriesController do context 'with :vue_container_registry_explorer feature flag disabled' do before do - stub_feature_flags(vue_container_registry_explorer: false) + stub_feature_flags(vue_container_registry_explorer: { enabled: false, thing: group }) end it 'has the correct response schema' do diff --git a/spec/controllers/projects/registry/repositories_controller_spec.rb b/spec/controllers/projects/registry/repositories_controller_spec.rb index 5b9c0211b39..a64673a7f87 100644 --- a/spec/controllers/projects/registry/repositories_controller_spec.rb +++ b/spec/controllers/projects/registry/repositories_controller_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Projects::Registry::RepositoriesController do - let(:user) { create(:user) } + let(:user) { create(:user) } let(:project) { create(:project, :private) } before do @@ -88,7 +88,7 @@ describe Projects::Registry::RepositoriesController do context 'with :vue_container_registry_explorer feature flag disabled' do before do - stub_feature_flags(vue_container_registry_explorer: false) + stub_feature_flags(vue_container_registry_explorer: { enabled: false, thing: project.group }) stub_container_registry_tags(repository: project.full_path, tags: %w[rc1 latest]) end |