• Y
    Prevent not-intended loading of `ActionDispatch::IntegrationTest` · 9a642931
    yui-knk 提交于
    After 9d378747 `ActionDispatch::IntegrationTest`
    class is loaded and defined in all Rails environments, not only test but also
    production. This is not-intended loading of a class which is only used in
    test environment.
    To prevent not-intended loading, add `ActiveSupport.run_load_hooks` to
    `ActionDispatch::IntegrationTest` with `action_dispatch_integration_test` name
    and use it in `ActionMailer`.
    9a642931
integration.rb 25.5 KB