Permalink
Browse files

[test] actually check the expected value

  • Loading branch information...
1 parent 85328c4 commit be5fc6309fb9a39e6624b81a9020a46f8e552c9d @Swaagie Swaagie committed Nov 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/creditcard.test.js
View
2 test/creditcard.test.js
@@ -98,7 +98,7 @@ describe('creditcard#expiry', function () {
it('should validate the expiry', function () {
var today = new Date();
- expect(creditcard.expiry((today.getMonth() + 1), today.getFullYear()));
+ expect(creditcard.expiry((today.getMonth() + 1), today.getFullYear())).to.equal(true);
});
it('should not validate the expiry', function () {

0 comments on commit be5fc63

Please sign in to comment.