summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/rational/to_s.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/rational/to_s.rb')
-rw-r--r--spec/ruby/shared/rational/to_s.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/rational/to_s.rb b/spec/ruby/shared/rational/to_s.rb
index 429a021908..b16594f10c 100644
--- a/spec/ruby/shared/rational/to_s.rb
+++ b/spec/ruby/shared/rational/to_s.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe :rational_to_s, shared: true do
it "returns a string representation of self" do