summaryrefslogtreecommitdiff
path: root/spec/rubyspec/library/bigdecimal/to_i_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/library/bigdecimal/to_i_spec.rb')
-rw-r--r--spec/rubyspec/library/bigdecimal/to_i_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/rubyspec/library/bigdecimal/to_i_spec.rb b/spec/rubyspec/library/bigdecimal/to_i_spec.rb
new file mode 100644
index 0000000000..8db69003c5
--- /dev/null
+++ b/spec/rubyspec/library/bigdecimal/to_i_spec.rb
@@ -0,0 +1,7 @@
+require File.expand_path('../../../spec_helper', __FILE__)
+require File.expand_path('../shared/to_int', __FILE__)
+require 'bigdecimal'
+
+describe "BigDecimal#to_i" do
+ it_behaves_like(:bigdecimal_to_int, :to_i)
+end