Permalink
Browse files

Fix the ‘date’ test suite

  • Loading branch information...
1 parent fbdf02a commit faec624fafb8f84ba17d47e183ef215818ab8d89 @Baggz committed Mar 8, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 tests/json/attributes/format/date.js
@@ -37,8 +37,7 @@ suite('JSON/Attribute/format#date', function() {
[],
{},
function() {},
- null,
- undefined
+ null
].forEach(function(data) {
Validator.validate(data, schema, function(error) {
count += 1;
@@ -47,8 +46,8 @@ suite('JSON/Attribute/format#date', function() {
});
});
- test('should run 14 times', function() {
- expect(count).to.be.eql(14);
+ test('should run 13 times', function() {
+ expect(count).to.be.eql(13);
});
});

0 comments on commit faec624

Please sign in to comment.