diff options
Diffstat (limited to 'spec/ruby/core/integer/shared')
| -rw-r--r-- | spec/ruby/core/integer/shared/arithmetic_coerce.rb | 2 | ||||
| -rw-r--r-- | spec/ruby/core/integer/shared/comparison_coerce.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/integer/shared/arithmetic_coerce.rb b/spec/ruby/core/integer/shared/arithmetic_coerce.rb index e33c5ff0f4..4c0cbcb999 100644 --- a/spec/ruby/core/integer/shared/arithmetic_coerce.rb +++ b/spec/ruby/core/integer/shared/arithmetic_coerce.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :integer_arithmetic_coerce_rescue, shared: true do it "rescues exception (StandardError and subclasses) raised in other#coerce and raises TypeError" do diff --git a/spec/ruby/core/integer/shared/comparison_coerce.rb b/spec/ruby/core/integer/shared/comparison_coerce.rb index 6d5e69b774..50437f77f5 100644 --- a/spec/ruby/core/integer/shared/comparison_coerce.rb +++ b/spec/ruby/core/integer/shared/comparison_coerce.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :integer_comparison_coerce_rescue, shared: true do it "rescues exception (StandardError and subclasses) raised in other#coerce and raises ArgumentError" do |
