0b1b49cb8a
closes #508
12 lines
270 B
JavaScript
12 lines
270 B
JavaScript
|
|
'use strict';
|
|
|
|
var response = require('../context').response;
|
|
var Stream = require('stream');
|
|
|
|
describe('res.socket', function(){
|
|
it('should return the request socket object', function(){
|
|
var res = response();
|
|
res.socket.should.be.instanceOf(Stream);
|
|
})
|
|
})
|