summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/rational/coerce.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/rational/coerce.rb')
-rw-r--r--spec/ruby/shared/rational/coerce.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/rational/coerce.rb b/spec/ruby/shared/rational/coerce.rb
index 8bdd19aa2a..0d6c440993 100644
--- a/spec/ruby/shared/rational/coerce.rb
+++ b/spec/ruby/shared/rational/coerce.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe :rational_coerce, shared: true do
it "returns the passed argument, self as Float, when given a Float" do