diff options
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 |