summaryrefslogtreecommitdiff
path: root/spec/ruby/library/mathn/math/shared/rsqrt.rb
diff options
Diffstat (limited to 'spec/ruby/library/mathn/math/shared/rsqrt.rb')
-rw-r--r--spec/ruby/library/mathn/math/shared/rsqrt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/mathn/math/shared/rsqrt.rb b/spec/ruby/library/mathn/math/shared/rsqrt.rb
index 68e2f7d02f..0f623a7d4f 100644
--- a/spec/ruby/library/mathn/math/shared/rsqrt.rb
+++ b/spec/ruby/library/mathn/math/shared/rsqrt.rb
@@ -1,5 +1,5 @@
require 'mathn'
-require File.expand_path('../../fixtures/classes', __FILE__)
+require_relative '../fixtures/classes'
describe :mathn_math_rsqrt, shared: true do
it "returns the square root for Rational numbers" do