Permalink
Browse files

Remove invalid test

The test fails on PostgreSQL when trying to load the records as
the comments_count field is not included in the GROUP BY clause.
  • Loading branch information...
1 parent 0d1ca43 commit c2b474af416b06034a4d2fde27c56fbeb5f5064f @pixeltrix pixeltrix committed Mar 13, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 activerecord/test/cases/relations_test.rb
@@ -662,11 +662,6 @@ def test_empty_complex_chained_relations
no_posts = posts.where(:title => "")
assert_queries(1) { assert_equal true, no_posts.empty? }
assert ! no_posts.loaded?
-
- best_posts = posts.where(:comments_count => 0)
- best_posts.to_a # force load
- assert_no_queries { assert_equal true, best_posts.empty? }
- assert best_posts.loaded?
end
def test_any

0 comments on commit c2b474a

Please sign in to comment.