diff options
Diffstat (limited to 'spec/ruby/shared/enumerator/enum_cons.rb')
-rw-r--r-- | spec/ruby/shared/enumerator/enum_cons.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/shared/enumerator/enum_cons.rb b/spec/ruby/shared/enumerator/enum_cons.rb index 59eed949d8..fec0f4766e 100644 --- a/spec/ruby/shared/enumerator/enum_cons.rb +++ b/spec/ruby/shared/enumerator/enum_cons.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../fixtures/enumerator/classes', __FILE__) +require_relative '../../spec_helper' +require_relative '../../fixtures/enumerator/classes' describe :enum_cons, shared: true do it "returns an enumerator of the receiver with iteration of each_cons for each array of n concecutive elements" do |