diff options
Diffstat (limited to 'spec/ruby/core/integer/to_int_spec.rb')
-rw-r--r-- | spec/ruby/core/integer/to_int_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/ruby/core/integer/to_int_spec.rb b/spec/ruby/core/integer/to_int_spec.rb new file mode 100644 index 0000000000..5e87c86ccd --- /dev/null +++ b/spec/ruby/core/integer/to_int_spec.rb @@ -0,0 +1,6 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../shared/to_i', __FILE__) + +describe "Integer#to_int" do + it_behaves_like(:integer_to_i, :to_int) +end |