0
0
Fork 0

add a spec controller

This commit is contained in:
Gibheer 2012-11-17 14:23:01 +01:00
parent 7fa20e6131
commit 019bccd4a2
1 changed files with 5 additions and 0 deletions

View File

@ -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