From ee664acb356f8123f4f6b00b73c1e1cf0866c7fb Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 20 Oct 2022 09:40:42 +0000 Subject: Add latest changes from gitlab-org/gitlab@15-5-stable-ee --- spec/fast_spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/fast_spec_helper.rb') diff --git a/spec/fast_spec_helper.rb b/spec/fast_spec_helper.rb index db4d9125e6e..393cd6f6a21 100644 --- a/spec/fast_spec_helper.rb +++ b/spec/fast_spec_helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -if $".include?(File.expand_path('spec_helper.rb', __dir__)) +if $LOADED_FEATURES.include?(File.expand_path('spec_helper.rb', __dir__)) # There's no need to load anything here if spec_helper is already loaded # because spec_helper is more extensive than fast_spec_helper return -- cgit v1.2.3