aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-03 11:56:32 +0100
committerJon Leighton <j@jonathanleighton.com>2010-10-03 11:56:32 +0100
commit43711083dd34252877bab9df43d3db0fd42feeb2 (patch)
treea071159956b3ccd951e59edbc6729adb809d5e57 /activerecord/test/cases/finder_test.rb
parenta34391c3b495bad268204bdf4f6b3483a61abcd5 (diff)
downloadrails-43711083dd34252877bab9df43d3db0fd42feeb2.tar.gz
rails-43711083dd34252877bab9df43d3db0fd42feeb2.tar.bz2
rails-43711083dd34252877bab9df43d3db0fd42feeb2.zip
Fix the tests (I have actually verified that these are also the 'right' fixes, rather than just making the tests pass again)
Diffstat (limited to 'activerecord/test/cases/finder_test.rb')
-rw-r--r--activerecord/test/cases/finder_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb
index 26b5096255..e73f58fdc7 100644
--- a/activerecord/test/cases/finder_test.rb
+++ b/activerecord/test/cases/finder_test.rb
@@ -127,7 +127,7 @@ class FinderTest < ActiveRecord::TestCase
assert_equal [[0,3],[1,1],[1,2]], first_three_posts.map { |p| [p.author_id, p.id] }
assert_equal [[1,4],[1,5],[1,6]], second_three_posts.map { |p| [p.author_id, p.id] }
- assert_equal [[2,7]], last_posts.map { |p| [p.author_id, p.id] }
+ assert_equal [[2,7],[2,9],[3,8]], last_posts.map { |p| [p.author_id, p.id] }
end