aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/shared/rational/hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/rational/hash.rb')
-rw-r--r--spec/ruby/shared/rational/hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/rational/hash.rb b/spec/ruby/shared/rational/hash.rb
index a83ce49afb..50f21cec20 100644
--- a/spec/ruby/shared/rational/hash.rb
+++ b/spec/ruby/shared/rational/hash.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe :rational_hash, shared: true do
# BUG: Rational(2, 3).hash == Rational(3, 2).hash