1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/activerecord
Ricardo Díaz f644f7d35b Extract methods assert_queries and assert_no_queries
Both methods are defined in multiple parts of the framework. It would
be useful to put them in a proper place, so that repetition is
avoided.

I chose the implementation from `ActiveRecord` because it's a bit more
complete with the `SQLCounter` class, and also because other parts
depend on it.
2021-06-14 09:55:13 -05:00
..
controller_runtime_test.rb Add allocations to template renderer subscription 2018-10-10 08:07:12 -04:00
debug_helper_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
form_helper_activerecord_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
multifetch_cache_test.rb Remove FallbackFileSystemResolver 2021-04-06 14:20:48 -07:00
partial_rendering_query_test.rb Fix SELECT COUNT queries when rendering ActiveRecord collections (#40870) 2020-12-18 15:58:11 -05:00
polymorphic_routes_test.rb Prevent string polymorphic route arguments 2021-05-04 13:56:37 -07:00
relation_cache_test.rb Extract methods assert_queries and assert_no_queries 2021-06-14 09:55:13 -05:00
render_partial_with_record_identification_test.rb Remove deprecated catch-all route in the AV tests 2018-09-24 15:39:15 -07:00