mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add load hook for ActionDispatch::SystemTestCase
This is useful to extend `SystemTestCase`.
Also, since other test classes already have load hooks, should also be
in `SystemTestCase`.
Ref: 0510208dd1
This commit is contained in:
parent
12de5e202d
commit
65e08da68f
2 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,8 @@ module ActionDispatch
|
|||
end
|
||||
|
||||
driven_by :selenium
|
||||
|
||||
ActiveSupport.run_load_hooks(:action_dispatch_system_test_case, self)
|
||||
end
|
||||
|
||||
SystemTestCase.start_application
|
||||
|
|
|
@ -1501,6 +1501,7 @@ To hook into the initialization process of one of the following classes use the
|
|||
| `ActionController::Base` | `action_controller` |
|
||||
| `ActionController::TestCase` | `action_controller_test_case` |
|
||||
| `ActionDispatch::IntegrationTest` | `action_dispatch_integration_test` |
|
||||
| `ActionDispatch::SystemTestCase` | `action_dispatch_system_test_case` |
|
||||
| `ActionMailer::Base` | `action_mailer` |
|
||||
| `ActionMailer::TestCase` | `action_mailer_test_case` |
|
||||
| `ActionView::Base` | `action_view` |
|
||||
|
|
Loading…
Reference in a new issue