1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Ryuta Kamizono
301409a98f Call load_schema before assert_no_queries
Follow up 45be690f8e.

`predicate_builder.build` in `where` requires `load_schema` for
`type_for_attribute`.
2018-10-10 09:50:22 +09:00
Ryuta Kamizono
45be690f8e Remove ignore_none: false to assert no queries more strictly
Follow up 811be47778.
2018-10-05 04:30:01 +09:00
yuuji.yaginuma
56de573131 Reset column information after schema changed
This fixes the following failures.
https://travis-ci.org/rails/rails/jobs/253990014
2017-07-20 22:43:13 +03:00
Ryuta Kamizono
91565aea80 Ensure calculation methods execute no queries 2017-07-15 23:21:31 +09:00
Ryuta Kamizono
f73742455f Extract NullRelationTest from RelationTest
`test/cases/relations_test.rb` file has too much lines (2000 over).
So I extracted `NullRelationTest` to the dedicated file.
2017-07-15 23:14:49 +09:00