diff options
author | Matthew Draper <matthew@trebex.net> | 2016-10-08 08:13:11 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-10-08 08:13:11 +1030 |
commit | cb0452e9a50e97f8ab2100f6226fbdd47a970a34 (patch) | |
tree | 611edac41561efabba8cb12d6839fa3f3033fc9a /activesupport/test/core_ext | |
parent | fc0b62597f9c34bd028fd91457b8865eea42cc2d (diff) | |
download | rails-cb0452e9a50e97f8ab2100f6226fbdd47a970a34.tar.gz rails-cb0452e9a50e97f8ab2100f6226fbdd47a970a34.tar.bz2 rails-cb0452e9a50e97f8ab2100f6226fbdd47a970a34.zip |
Fixnum and Bignum are deprecated in Ruby trunk
https://bugs.ruby-lang.org/issues/12739
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/array/grouping_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/array/grouping_test.rb b/activesupport/test/core_ext/array/grouping_test.rb index 86c9bae131..b06f87c008 100644 --- a/activesupport/test/core_ext/array/grouping_test.rb +++ b/activesupport/test/core_ext/array/grouping_test.rb @@ -4,11 +4,11 @@ require "active_support/core_ext/array" class GroupingTest < ActiveSupport::TestCase def setup # In Ruby < 2.4, test we avoid Integer#/ (redefined by mathn) - Fixnum.send :private, :/ unless Fixnum == Integer + Fixnum.send :private, :/ unless 0.class == Integer end def teardown - Fixnum.send :public, :/ unless Fixnum == Integer + Fixnum.send :public, :/ unless 0.class == Integer end def test_in_groups_of_with_perfect_fit |