Skip to content
  • eileencodes's avatar
    afa6ef55
    Use `silence_warnings` on `StaticTests` · afa6ef55
    eileencodes authored
    When 7e504927 was merged setting `Encoding.default_internal` and
    `Encoding.default_external` would throw a warning when the ActionPack
    tests were run.
    
    Example warning: `actionpack/test/dispatch/static_test.rb:12: warning:
    setting Encoding.default_external`
    
    This patch silences the warnings as other similar tests do for setting
    default_internal and default_external.
    afa6ef55
    Use `silence_warnings` on `StaticTests`
    eileencodes authored
    When 7e504927 was merged setting `Encoding.default_internal` and
    `Encoding.default_external` would throw a warning when the ActionPack
    tests were run.
    
    Example warning: `actionpack/test/dispatch/static_test.rb:12: warning:
    setting Encoding.default_external`
    
    This patch silences the warnings as other similar tests do for setting
    default_internal and default_external.
Loading