Update test case to remove usage of deprecated express apis

This commit is contained in:
Raymond Feng 2014-07-26 14:37:13 -07:00
parent 852ea5534a
commit 5bb4cde593
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ describe('app', function() {
it('starts http server', function(done) {
var app = loopback();
app.set('port', 0);
app.get('/', function(req, res) { res.send(200, 'OK'); });
app.get('/', function(req, res) { res.status(200).send('OK'); });
var server = app.listen();