diff options
Diffstat (limited to 'spec/support/shared_examples/namespaces/traversal_examples.rb')
-rw-r--r-- | spec/support/shared_examples/namespaces/traversal_examples.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/support/shared_examples/namespaces/traversal_examples.rb b/spec/support/shared_examples/namespaces/traversal_examples.rb index 73e22b97abc..600539f7d0a 100644 --- a/spec/support/shared_examples/namespaces/traversal_examples.rb +++ b/spec/support/shared_examples/namespaces/traversal_examples.rb @@ -57,11 +57,6 @@ RSpec.shared_examples 'namespace traversal' do end describe '#ancestors' do - before do - # #reload is called to make sure traversal_ids are reloaded - reload_models(group, nested_group, deep_nested_group, very_deep_nested_group) - end - it 'returns the correct ancestors' do expect(very_deep_nested_group.ancestors).to contain_exactly(group, nested_group, deep_nested_group) expect(deep_nested_group.ancestors).to contain_exactly(group, nested_group) |