summaryrefslogtreecommitdiff
path: root/spec/ruby/core/rational/comparison_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/rational/comparison_spec.rb')
-rw-r--r--spec/ruby/core/rational/comparison_spec.rb12
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