diff options
Diffstat (limited to 'spec/finders/groups/accepting_group_transfers_finder_spec.rb')
-rw-r--r-- | spec/finders/groups/accepting_group_transfers_finder_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/finders/groups/accepting_group_transfers_finder_spec.rb b/spec/finders/groups/accepting_group_transfers_finder_spec.rb index 1a6c6f9243b..06e6fa05892 100644 --- a/spec/finders/groups/accepting_group_transfers_finder_spec.rb +++ b/spec/finders/groups/accepting_group_transfers_finder_spec.rb @@ -117,19 +117,6 @@ RSpec.describe Groups::AcceptingGroupTransfersFinder do expect(result).to contain_exactly(great_grandparent_group) end end - - context 'when the feature flag `include_groups_from_group_shares_in_group_transfer_locations` is turned off' do - before do - stub_feature_flags(include_groups_from_group_shares_in_group_transfer_locations: false) - end - - it 'excludes the groups where the user has OWNER access through group shares' do - expect(result).not_to include( - shared_with_group_where_direct_owner_as_owner, - subgroup_of_shared_with_group_where_direct_owner_as_owner - ) - end - end end end end |