summaryrefslogtreecommitdiff
path: root/spec/ruby/core/rational/round_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/rational/round_spec.rb')
-rw-r--r--spec/ruby/core/rational/round_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ruby/core/rational/round_spec.rb b/spec/ruby/core/rational/round_spec.rb
new file mode 100644
index 0000000000..2b432f3234
--- /dev/null
+++ b/spec/ruby/core/rational/round_spec.rb
@@ -0,0 +1,5 @@
+require File.expand_path('../../../shared/rational/round', __FILE__)
+
+describe "Rational#round" do
+ it_behaves_like(:rational_round, :round)
+end