summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-11-17 14:23:01 +0100
committerGibheer <gibheer@gmail.com>2012-11-20 20:37:10 +0100
commit019bccd4a2d83571eabb58662f3be44f0f3d9951 (patch)
tree1f2495a59927d855d340ec342398d0943189b140 /spec
parent7fa20e6131d652d8dc3304a68dab40bef6e4cd73 (diff)
add a spec controller
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 154faf4..c345b2c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -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