Permalink
Browse files

fix tests because update of `should.js`

  • Loading branch information...
1 parent 04a37e0 commit c5f6c25ab9ae781b42f67bdb9b8a8f2eab00e823 @alsotang alsotang committed Feb 11, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/controllers/message.js
@@ -13,9 +13,9 @@ describe('controllers/message.js', function () {
describe('index', function () {
it('should 302 without session', function (done) {
app.request().get('/my/messages').end(function (res) {
- res.should.status(302);
- res.should.header('content-type', 'text/html');
- res.should.header('location');
+ res.statusCode.should.equal(302);
+ res.headers.should.have.property('content-type', 'text/html');
+ res.headers.should.have.property('location');
done();
});
});

0 comments on commit c5f6c25

Please sign in to comment.