From e8aeda2ab39b5d416a72edfa74e0fb17721eb6f9 Mon Sep 17 00:00:00 2001 From: Brian Christian Date: Wed, 10 Feb 2016 10:10:38 -0800 Subject: rename to 'second_to_last' and 'third_to_last' --- .../test/cases/associations/has_many_associations_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'activerecord/test/cases/associations/has_many_associations_test.rb') diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb index 4e9f7c330a..e975f4fbdd 100644 --- a/activerecord/test/cases/associations/has_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_associations_test.rb @@ -408,13 +408,13 @@ class HasManyAssociationsTest < ActiveRecord::TestCase end assert_no_queries do - bulbs.antepenultimate() - bulbs.antepenultimate({}) + bulbs.third_to_last() + bulbs.third_to_last({}) end assert_no_queries do - bulbs.penultimate() - bulbs.penultimate({}) + bulbs.second_to_last() + bulbs.second_to_last({}) end assert_no_queries do -- cgit v1.2.3