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
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
..
actionpack Return "test" as the controller_name in ActionView tests 2021-06-07 15:52:08 -07:00
activerecord Extract methods assert_queries and assert_no_queries 2021-06-14 09:55:13 -05:00
fixtures chore: fix grammar, spelling and minor whitespace fix 2021-04-13 21:35:50 +10:00
lib Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
template Return "test" as the controller_name in ActionView tests 2021-06-07 15:52:08 -07:00
ujs Fix spelling in CoffeeScript and JavaScript files [ci skip] 2021-05-05 11:08:33 +10:00
abstract_unit.rb Update test helper to call parallelize according to fork support 2021-01-25 13:50:41 -06:00
active_record_unit.rb Module#const_set is a public method 2020-09-15 17:19:37 +09:00