1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
John Hawthorn 65e42c91f5 Use unique controller per ActionView::TestCase
Previously the same class, ActionView::TestCase::TestController, was
used to build a controller for every ActionView::TestCase class.

This caused issues when helpers/helper methods were set directly on the
controller (which from one test we seem to want to support).

This commit solves this by creating a new controller class for every
test case, which gives the controller a unique set of helpers to work
with.

Co-authored-by: John Crepezzi <seejohnrun@github.com>
2020-09-02 15:55:01 -07:00
..
abstract_controller Update rubocop-performance gem and enable Performance/DeletePrefix and Performance/DeleteSuffix cops 2020-05-24 12:51:35 +03:00
action_controller Use unique controller per ActionView::TestCase 2020-09-02 15:55:01 -07:00
action_dispatch Escape # in RFC 5987 pattern 2020-08-31 10:31:30 -04:00
action_pack Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
abstract_controller.rb Make sure to require active_support.rb before requiring active_support/rails.rb 2019-07-12 18:30:58 +09:00
action_controller.rb Remove invalid autoloads in top-level Rails modules 2020-06-08 17:21:26 -04:00
action_dispatch.rb Clear cache after setting Template::Types delegate 2020-05-21 22:43:13 -07:00
action_pack.rb Bump license years from 2019 to 2020 [ci skip] 2020-01-01 15:10:31 +05:30