• Stan Hu's avatar
    Stub Rails.application.env_config to prevent spec failures · 868b02b6
    Stan Hu authored
    When we modify env_config, that is on the global Rails.application, and
    we need to stub it and allow it to be modified in-place, without
    polluting later tests.
    
    When we modify env, then the context is a request, or something else
    that only lives for a single spec.
    
    Closes #8488
    868b02b6
devise_helpers.rb 845 Bytes