diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-15 00:09:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-15 00:09:20 +0300 |
commit | db2275b561bace34d90b901226d7f46d33e4cbd9 (patch) | |
tree | 7fde15815e18d0818b9be7ce61ddd90a13ea0f8c /spec/spec_helper.rb | |
parent | 3c6cad91a1a9d8732e8cb998f83d32dc19373b7b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9f96162e629..74f1a712c30 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -if $".include?(File.expand_path('fast_spec_helper.rb', __dir__)) +if $LOADED_FEATURES.include?(File.expand_path('fast_spec_helper.rb', __dir__)) warn 'Detected fast_spec_helper is loaded first than spec_helper.' warn 'If running test files using both spec_helper and fast_spec_helper,' warn 'make sure spec_helper is loaded first, or run rspec with `-r spec_helper`.' |