Skip to content

Commit

Permalink
Change deprecated should test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tedeh committed Nov 11, 2013
1 parent d3e3c5c commit 03464d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe('jayson client instance', function() {
should.not.exist(err);
should.not.exist(error);
should.exist(response);
response.should.be.a('number').and.equal(params.a + params.b);
response.should.be.a.Number.and.equal(params.a + params.b);
done();
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('jayson server instance', function() {
should.exist(err.error);
should.not.exist(response);
err.error.code.should.equal(jayson.server.errors.PARSE_ERROR);
err.error.message.should.be.a('string').and.equal(newMsg);
err.error.message.should.equal(newMsg);
done();
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('utils', function() {

it('exists', function() {
utils.should.have.property('request');
utils.request.should.be.a('function');
utils.request.should.be.a.Function;
});

it('should throw a TypeError on an invalid method argument', function() {
Expand Down

0 comments on commit 03464d3

Please sign in to comment.