summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 8a8d0d34e6b..42c97d03d21 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -357,13 +357,7 @@ RSpec.configure do |config|
# The ongoing implementation of Admin Mode for API is behind the :admin_mode_for_api feature flag.
# All API specs will be adapted continuously. The following list contains the specs that have not yet been adapted.
# The feature flag is disabled for these specs as long as they are not yet adapted.
- admin_mode_for_api_feature_flag_paths = %w[
- ./spec/requests/api/project_export_spec.rb
- ./spec/requests/api/project_repository_storage_moves_spec.rb
- ./spec/requests/api/project_snapshots_spec.rb
- ./spec/requests/api/project_snippets_spec.rb
- ./spec/requests/api/projects_spec.rb
- ]
+ admin_mode_for_api_feature_flag_paths = %w[]
if example.metadata[:file_path].start_with?(*admin_mode_for_api_feature_flag_paths)
stub_feature_flags(admin_mode_for_api: false)