10 lines
223 B
JavaScript
10 lines
223 B
JavaScript
|
|
||
|
var request = require('../context').request;
|
||
|
|
||
|
describe('req.headers', function(){
|
||
|
it('should return the request header object', function(){
|
||
|
var req = request();
|
||
|
req.headers.should.equal(req.req.headers);
|
||
|
})
|
||
|
})
|