diff options
author | Brian Christian <brchristian@gmail.com> | 2016-02-10 10:10:38 -0800 |
---|---|---|
committer | Brian Christian <brchristian@gmail.com> | 2016-02-10 10:10:38 -0800 |
commit | e8aeda2ab39b5d416a72edfa74e0fb17721eb6f9 (patch) | |
tree | ea2b76a40f9d9ce3046a9fae3f177b9e4c0b1706 /activesupport/test | |
parent | c74045cf0771ab51dfeca94b30c447cab6193e60 (diff) | |
download | rails-e8aeda2ab39b5d416a72edfa74e0fb17721eb6f9.tar.gz rails-e8aeda2ab39b5d416a72edfa74e0fb17721eb6f9.tar.bz2 rails-e8aeda2ab39b5d416a72edfa74e0fb17721eb6f9.zip |
rename to 'second_to_last' and 'third_to_last'
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/array/access_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/array/access_test.rb b/activesupport/test/core_ext/array/access_test.rb index d7a3fb56c2..1d834667f0 100644 --- a/activesupport/test/core_ext/array/access_test.rb +++ b/activesupport/test/core_ext/array/access_test.rb @@ -26,8 +26,8 @@ class AccessTest < ActiveSupport::TestCase assert_equal array[3], array.fourth assert_equal array[4], array.fifth assert_equal array[41], array.forty_two - assert_equal array[-3], array.antepenultimate - assert_equal array[-2], array.penultimate + assert_equal array[-3], array.third_to_last + assert_equal array[-2], array.second_to_last end def test_without |