diff options
Diffstat (limited to 'spec/support/helpers/test_env.rb')
-rw-r--r-- | spec/support/helpers/test_env.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/support/helpers/test_env.rb b/spec/support/helpers/test_env.rb index 5c3ca92c4d0..18c25f4b770 100644 --- a/spec/support/helpers/test_env.rb +++ b/spec/support/helpers/test_env.rb @@ -371,17 +371,6 @@ module TestEnv FileUtils.rm_rf(path) end - def current_example_group - Thread.current[:current_example_group] - end - - # looking for a top-level `describe` - def topmost_example_group - example_group = current_example_group - example_group = example_group[:parent_example_group] until example_group[:parent_example_group].nil? - example_group - end - def seed_db Gitlab::DatabaseImporters::WorkItems::BaseTypeImporter.import end |