diff options
Diffstat (limited to 'spec/ruby/core/rational/comparison_spec.rb')
-rw-r--r-- | spec/ruby/core/rational/comparison_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ruby/core/rational/comparison_spec.rb b/spec/ruby/core/rational/comparison_spec.rb index 47e3ab043d..3c11abe4a4 100644 --- a/spec/ruby/core/rational/comparison_spec.rb +++ b/spec/ruby/core/rational/comparison_spec.rb @@ -14,6 +14,7 @@ end describe "Rational#<=> when passed an Object that responds to #coerce" do it_behaves_like(:rational_cmp_coerce, :<=>) + it_behaves_like(:rational_cmp_coerce_exception, :<=>) end describe "Rational#<=> when passed a non-Numeric Object that doesn't respond to #coerce" do |