diff options
Diffstat (limited to 'spec/models/namespace_spec.rb')
-rw-r--r-- | spec/models/namespace_spec.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/spec/models/namespace_spec.rb b/spec/models/namespace_spec.rb index 89df24d75c9..1cb5ebeae98 100644 --- a/spec/models/namespace_spec.rb +++ b/spec/models/namespace_spec.rb @@ -1587,30 +1587,6 @@ RSpec.describe Namespace, feature_category: :subgroups do end end - describe '#use_traversal_ids_for_root_ancestor?' do - let_it_be(:namespace, reload: true) { create(:namespace) } - - subject { namespace.use_traversal_ids_for_root_ancestor? } - - context 'when use_traversal_ids_for_root_ancestor feature flag is true' do - before do - stub_feature_flags(use_traversal_ids_for_root_ancestor: true) - end - - it { is_expected.to eq true } - - it_behaves_like 'disabled feature flag when traversal_ids is blank' - end - - context 'when use_traversal_ids_for_root_ancestor feature flag is false' do - before do - stub_feature_flags(use_traversal_ids_for_root_ancestor: false) - end - - it { is_expected.to eq false } - end - end - describe '#use_traversal_ids_for_ancestors?' do let_it_be(:namespace, reload: true) { create(:namespace) } |