add a spec controller
This commit is contained in:
parent
7fa20e6131
commit
019bccd4a2
|
@ -1,6 +1,11 @@
|
|||
require 'rack'
|
||||
require 'zero/all'
|
||||
|
||||
class SpecController < Zero::Controller
|
||||
def process; end
|
||||
def render; @response = [200, {'Content-Type' => 'text/html'}, ['foo']]; end
|
||||
end
|
||||
|
||||
class SpecApp
|
||||
attr_reader :env
|
||||
|
||||
|
|
Loading…
Reference in New Issue