summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/rational/plus.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/rational/plus.rb')
-rw-r--r--spec/ruby/shared/rational/plus.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/rational/plus.rb b/spec/ruby/shared/rational/plus.rb
index e37c757c13..b126360ee4 100644
--- a/spec/ruby/shared/rational/plus.rb
+++ b/spec/ruby/shared/rational/plus.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe :rational_plus_rat, shared: true do
it "returns the result of subtracting other from self as a Rational" do