class TestRoutingMount::SinatraLikeApp
Test for mounting apps that respond to routes, but aren't Quails-like apps.
Public Class Methods
call(env)
click to toggle source
# File actionpack/test/dispatch/mount_test.rb, line 19 def self.call(env) [200, { "Content-Type" => "text/html" }, ["OK"]] end
routes()
click to toggle source
# File actionpack/test/dispatch/mount_test.rb, line 17 def self.routes; Object.new; end