summaryrefslogtreecommitdiff
path: root/spec/ruby/core/enumerator/each_with_index_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/enumerator/each_with_index_spec.rb')
-rw-r--r--spec/ruby/core/enumerator/each_with_index_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/enumerator/each_with_index_spec.rb b/spec/ruby/core/enumerator/each_with_index_spec.rb
index bc5c425093..0a3c11e0b4 100644
--- a/spec/ruby/core/enumerator/each_with_index_spec.rb
+++ b/spec/ruby/core/enumerator/each_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#each_with_index" do
it_behaves_like :enum_with_index, :each_with_index