diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-29 16:08:16 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-29 16:08:16 +0000 |
commit | 3fa5bd38af50fb3d98de0ea51043d73f8d06a24b (patch) | |
tree | d473b71cc6925ee1e17727215e9f9a66e3f24802 /spec/ruby/core/rational/comparison_spec.rb | |
parent | 1e658d45e1f8dbadab18f9c35b5cfb5a5fec98bf (diff) | |
download | ruby-3fa5bd38af50fb3d98de0ea51043d73f8d06a24b.tar.gz |
Update to ruby/spec@83063a3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/rational/comparison_spec.rb')
-rw-r--r-- | spec/ruby/core/rational/comparison_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/ruby/core/rational/comparison_spec.rb b/spec/ruby/core/rational/comparison_spec.rb index 3c11abe4a4..1529f12d67 100644 --- a/spec/ruby/core/rational/comparison_spec.rb +++ b/spec/ruby/core/rational/comparison_spec.rb @@ -1,22 +1,22 @@ require File.expand_path('../../../shared/rational/comparison', __FILE__) describe "Rational#<=> when passed a Rational object" do - it_behaves_like(:rational_cmp_rat, :<=>) + it_behaves_like :rational_cmp_rat, :<=> end describe "Rational#<=> when passed a Integer object" do - it_behaves_like(:rational_cmp_int, :<=>) + it_behaves_like :rational_cmp_int, :<=> end describe "Rational#<=> when passed a Float object" do - it_behaves_like(:rational_cmp_float, :<=>) + it_behaves_like :rational_cmp_float, :<=> 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, :<=>) + 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 - it_behaves_like(:rational_cmp_other, :<=>) + it_behaves_like :rational_cmp_other, :<=> end |