class StaticEncodingTest

Public Instance Methods

public_path() click to toggle source
# File actionpack/test/dispatch/static_test.rb, line 306
def public_path
  "公共"
end
setup() click to toggle source
Calls superclass method StaticTest#setup
# File actionpack/test/dispatch/static_test.rb, line 300
def setup
  super
  @root = "#{FIXTURE_LOAD_PATH}/公共"
  @app = ActionDispatch::Static.new(DummyApp, @root, headers: { "Cache-Control" => "public, max-age=60" })
end