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:
Ryuta Kamizono 2017-10-28 14:53:31 +09:00 committed by GitHub
commit bf6456e053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,8 @@ module ActionDispatch
end
driven_by :selenium
ActiveSupport.run_load_hooks(:action_dispatch_system_test_case, self)
end
SystemTestCase.start_application

View File

@ -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` |