Permalink
Browse files

fix(entity): fix reset and test

  • Loading branch information...
doktordirk committed Jul 12, 2016
1 parent b7deb2c commit 51dd588caa1604fa53874f6bb3b67193e00c1ff8
Showing with 1 addition and 2 deletions.
  1. +1 −1 src/entity.js
  2. +0 −1 test/entity.spec.js
@@ -699,7 +699,7 @@ function getCollectionsCompact(forEntity, includeNew) {
return;
}
if (!entity instanceof Entity) {
if (!(entity instanceof Entity)) {
return;
}
@@ -353,7 +353,6 @@ describe('Entity', function() {
expect(entity.isDirty()).toBe(false);
expect(entity.id).toBe(667);
expect(entity.foo[0]).toBe(1);
expect(entity.bar.buz).toBe(true);
expect(entity.__cleanValues.checksum).toBe(checksum);
});

0 comments on commit 51dd588

Please sign in to comment.