aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-07-22 11:55:47 +0200
committerYves Senn <yves.senn@gmail.com>2014-07-22 11:55:47 +0200
commitbb3b2d0b092af3c311ca06c5481b45ee6ee1b5b1 (patch)
treeee8127bef285338a94a232e9f132abc690b2502b /activerecord
parent16fe19831548f108c113094d106663497fc190d5 (diff)
parentc40bfc80b7e0a9c21f387652e9d1c01a6486a8e7 (diff)
downloadrails-bb3b2d0b092af3c311ca06c5481b45ee6ee1b5b1.tar.gz
rails-bb3b2d0b092af3c311ca06c5481b45ee6ee1b5b1.tar.bz2
rails-bb3b2d0b092af3c311ca06c5481b45ee6ee1b5b1.zip
Merge pull request #16253 from zuhao/refactor_activerecord_nested_through_associations_test
Make sure assertion passes for postgresql.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/associations/nested_through_associations_test.rb2
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