diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-04 15:09:32 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-04 15:09:32 +0000 |
commit | 401b64c4e840bc8887219e9e445a64b3d5943656 (patch) | |
tree | 989b93914e9a8ee57ef3ce0bb3d2e2083470fc49 /spec/ruby/library/mathn/math/shared | |
parent | 8a15857a7f283101a3923b76c71a1f05bfe58512 (diff) |
Update to ruby/spec@c1b568b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/library/mathn/math/shared')
-rw-r--r-- | spec/ruby/library/mathn/math/shared/rsqrt.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/mathn/math/shared/sqrt.rb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/spec/ruby/library/mathn/math/shared/sqrt.rb b/spec/ruby/library/mathn/math/shared/sqrt.rb index 6aab25fc5d..5e6dae1d4f 100644 --- a/spec/ruby/library/mathn/math/shared/sqrt.rb +++ b/spec/ruby/library/mathn/math/shared/sqrt.rb @@ -1,5 +1,5 @@ require 'mathn' -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :mathn_math_sqrt, shared: true do it "returns the square root for Rational numbers" do |