diff options
author | Zuhao Wan <wanzuhao@gmail.com> | 2014-07-22 17:03:26 +0800 |
---|---|---|
committer | Zuhao Wan <wanzuhao@gmail.com> | 2014-07-22 17:03:26 +0800 |
commit | c40bfc80b7e0a9c21f387652e9d1c01a6486a8e7 (patch) | |
tree | 652fe43a666873b5928d3baac3f501139805fdfa /activerecord/test/cases/associations | |
parent | 4c81c8ce533896be28bdc0b055ff30bb9dee1316 (diff) | |
download | rails-c40bfc80b7e0a9c21f387652e9d1c01a6486a8e7.tar.gz rails-c40bfc80b7e0a9c21f387652e9d1c01a6486a8e7.tar.bz2 rails-c40bfc80b7e0a9c21f387652e9d1c01a6486a8e7.zip |
Make sure assertion passes for postgresql.
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r-- | activerecord/test/cases/associations/nested_through_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/nested_through_associations_test.rb b/activerecord/test/cases/associations/nested_through_associations_test.rb index 3720d6d251..31b68c940e 100644 --- a/activerecord/test/cases/associations/nested_through_associations_test.rb +++ b/activerecord/test/cases/associations/nested_through_associations_test.rb @@ -130,7 +130,7 @@ class NestedThroughAssociationsTest < ActiveRecord::TestCase 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 |