diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /spec/helpers/namespaces_helper_spec.rb | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'spec/helpers/namespaces_helper_spec.rb')
-rw-r--r-- | spec/helpers/namespaces_helper_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/helpers/namespaces_helper_spec.rb b/spec/helpers/namespaces_helper_spec.rb index a8a918cbc74..68bc19cb429 100644 --- a/spec/helpers/namespaces_helper_spec.rb +++ b/spec/helpers/namespaces_helper_spec.rb @@ -195,26 +195,6 @@ RSpec.describe NamespacesHelper do end end - describe '#cascading_namespace_settings_enabled?' do - subject { helper.cascading_namespace_settings_enabled? } - - context 'when `cascading_namespace_settings` feature flag is enabled' do - it 'returns `true`' do - expect(subject).to be(true) - end - end - - context 'when `cascading_namespace_settings` feature flag is disabled' do - before do - stub_feature_flags(cascading_namespace_settings: false) - end - - it 'returns `false`' do - expect(subject).to be(false) - end - end - end - describe '#cascading_namespace_settings_popover_data' do attribute = :delayed_project_removal |