2 var express = require('../')
3 , request = require('supertest');
5 describe('res', function(){
6 describe('.status(code)', function(){
7 it('should set the response .statusCode', function(done){
10 app.use(function(req, res){
11 res.status(201).end('Created');