diff options
Diffstat (limited to 'spec/ruby/core/enumerator/with_index_spec.rb')
-rw-r--r-- | spec/ruby/core/enumerator/with_index_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/enumerator/with_index_spec.rb b/spec/ruby/core/enumerator/with_index_spec.rb index 62e4c8b5b9..ca9f5a133e 100644 --- a/spec/ruby/core/enumerator/with_index_spec.rb +++ b/spec/ruby/core/enumerator/with_index_spec.rb @@ -1,6 +1,6 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/enumerator/with_index', __FILE__) -require File.expand_path('../../enumerable/shared/enumeratorized', __FILE__) +require_relative '../../spec_helper' +require_relative '../../shared/enumerator/with_index' +require_relative '../enumerable/shared/enumeratorized' describe "Enumerator#with_index" do it_behaves_like :enum_with_index, :with_index |