diff --git a/spec/ruby/library/pathname/empty_spec.rb b/spec/ruby/library/pathname/empty_spec.rb index ffe00c32e4..e573021491 100644 --- a/spec/ruby/library/pathname/empty_spec.rb +++ b/spec/ruby/library/pathname/empty_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../spec_helper', __dir__) +require File.expand_path('../../../spec_helper', __FILE__) require 'pathname' ruby_version_is '2.4' do