aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/kernel/sub_spec.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-04 15:09:32 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-04 15:09:32 +0000
commit4f3c3c38a704b8a8ff76df19c2615e4d1245ce5d (patch)
tree989b93914e9a8ee57ef3ce0bb3d2e2083470fc49 /spec/ruby/core/kernel/sub_spec.rb
parentc2962cece1f9884ef646e3202206a605ad32c62d (diff)
downloadruby-4f3c3c38a704b8a8ff76df19c2615e4d1245ce5d.tar.gz
Update to ruby/spec@c1b568b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/kernel/sub_spec.rb')
-rw-r--r--spec/ruby/core/kernel/sub_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/kernel/sub_spec.rb b/spec/ruby/core/kernel/sub_spec.rb
index 78e5eec4a8..9130bd159c 100644
--- a/spec/ruby/core/kernel/sub_spec.rb
+++ b/spec/ruby/core/kernel/sub_spec.rb
@@ -1,5 +1,5 @@
-require File.expand_path('../../../spec_helper', __FILE__)
-require File.expand_path('../fixtures/classes', __FILE__)
+require_relative '../../spec_helper'
+require_relative 'fixtures/classes'
# FIXME: These methods exist only when the -n or -p option is passed to
# ruby, but we currently don't have a way of specifying that.