aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/integration/router_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/integration/router_spec.rb b/spec/integration/router_spec.rb
index 3be7b3a..587b879 100644
--- a/spec/integration/router_spec.rb
+++ b/spec/integration/router_spec.rb
@@ -15,6 +15,12 @@ describe Zero::Router do
app.should_receive(:call)
end
+ context 'it recognizes root' do
+ let(:routes) { { '/' => app } }
+ let(:env) { generate_env('/') }
+ it('handles /') { subject }
+ end
+
context 'a working route' do
let(:routes) { { '/app' => app } }
let(:env) { generate_env('/app') }