2 var express = require('../')
3 , request = require('supertest');
5 describe('req', function(){
6 describe('.route', function(){
7 it('should be the executed Route', function(done){
10 app.get('/user/:id/:op?', function(req, res, next){
11 req.route.path.should.equal('/user/:id/:op?');
15 app.get('/user/:id/edit', function(req, res){
16 req.route.path.should.equal('/user/:id/edit');