Join GitHub today
Fix fragile #assert_queries implementation and usages. #6683
Several tests that passed when run in the order they are loaded by rake test were failing when run in different sequences due to problems with the implementation of #assert_queries and #assert_no_queries as well as incorrect assumptions made about how many queries might be executed by a database adapter in various cases.
assert_no_queries was simply broken (but happened to not fail in