 
   out = null
   router = null
+
+  render = null
+  destroy = null
 
   before ->
     out = {}

          done()
        , 500

    router.push '/pages/33'
      out?.log 'destroy', req
      done()

  it 'should interrupt a running flow and starts another (render+destroy)', (done)->


    router = new Router 'destroy+render'
    router.get '/', render, destroy
    router.get '/pages', render, destroy, '/'
    router.get '/pages/:id', render, destroy, '/pages'
    router.get '/login', render, destroy

    requests =  [
      {url: '/', pattern: '/', params: {}}
