1
0
Fork 0
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:
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 end
driven_by :selenium driven_by :selenium
ActiveSupport.run_load_hooks(:action_dispatch_system_test_case, self)
end end
SystemTestCase.start_application 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::Base` | `action_controller` |
| `ActionController::TestCase` | `action_controller_test_case` | | `ActionController::TestCase` | `action_controller_test_case` |
| `ActionDispatch::IntegrationTest` | `action_dispatch_integration_test` | | `ActionDispatch::IntegrationTest` | `action_dispatch_integration_test` |
| `ActionDispatch::SystemTestCase` | `action_dispatch_system_test_case` |
| `ActionMailer::Base` | `action_mailer` | | `ActionMailer::Base` | `action_mailer` |
| `ActionMailer::TestCase` | `action_mailer_test_case` | | `ActionMailer::TestCase` | `action_mailer_test_case` |
| `ActionView::Base` | `action_view` | | `ActionView::Base` | `action_view` |