Permalink
Browse files

Merge pull request #16253 from zuhao/refactor_activerecord_nested_thr…

…ough_associations_test

Make sure assertion passes for postgresql.
  • Loading branch information...
2 parents 16fe198 + c40bfc8 commit bb3b2d0b092af3c311ca06c5481b45ee6ee1b5b1 @senny senny committed Jul 22, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/nested_through_associations_test.rb
@@ -130,7 +130,7 @@ def test_has_many_through_has_one_through_with_has_one_source_reflection
def test_has_many_through_has_one_through_with_has_one_source_reflection_preload
members = assert_queries(4) { Member.includes(:nested_sponsors).to_a }
mustache = sponsors(:moustache_club_sponsor_for_groucho)
- assert_no_queries do
+ assert_no_queries(ignore_none: false) do
assert_equal [mustache], members.first.nested_sponsors
end
end

0 comments on commit bb3b2d0

Please sign in to comment.