aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-03-03 21:25:29 +0200
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-03-04 20:44:30 +0200
commitce03e7d991a703c8d2e9c721902f312ccaeb5123 (patch)
tree7dc7371fb868b6bcea6e2d0ec4fb252920363839 /actionview
parent7d5a7b30cc79d91f3e3fa8ee81a077276947eb72 (diff)
downloadrails-ce03e7d991a703c8d2e9c721902f312ccaeb5123.tar.gz
rails-ce03e7d991a703c8d2e9c721902f312ccaeb5123.tar.bz2
rails-ce03e7d991a703c8d2e9c721902f312ccaeb5123.zip
Fix occurrences Fixnum|Bignum
Related to https://github.com/rails/rails/commit/d4eb0dc89ee6b476e2e10869dc282a96f956c6c7#r27830891
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/date_helper_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/test/template/date_helper_test.rb b/actionview/test/template/date_helper_test.rb
index 94357d5f90..4b4939d705 100644
--- a/actionview/test/template/date_helper_test.rb
+++ b/actionview/test/template/date_helper_test.rb
@@ -141,10 +141,10 @@ class DateHelperTest < ActionView::TestCase
end
def test_distance_in_words_doesnt_use_the_quotient_operator
- rubinius_skip "Date is written in Ruby and relies on Fixnum#/"
- jruby_skip "Date is written in Ruby and relies on Fixnum#/"
+ rubinius_skip "Date is written in Ruby and relies on Integer#/"
+ jruby_skip "Date is written in Ruby and relies on Integer#/"
- # Make sure that we avoid {Integer,Fixnum}#/ (redefined by mathn)
+ # Make sure that we avoid Integer#/ (redefined by mathn)
Integer.send :private, :/
from = Time.utc(2004, 6, 6, 21, 45, 0)