mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #31003 from y-yagi/add_load_hook_for_system_test_case
Add load hook for `ActionDispatch::SystemTestCase`
This commit is contained in:
commit
bf6456e053
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