Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 594b834

Browse files
committed
Fix updateRec test unit (missing snap)
1 parent 84fd2e7 commit 594b834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/utils.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ describe('$firebaseUtils', function () {
7272

7373
it('should apply changes to record', function() {
7474
var rec = {foo: 'bar', bar: 'foo', $id: 'foo', $priority: null};
75-
$utils.updateRec(rec, {bar: 'baz', baz: 'foo'});
75+
$utils.updateRec(rec, testutils.snap({bar: 'baz', baz: 'foo'}));
7676
expect(rec).toEqual({bar: 'baz', baz: 'foo', $id: 'foo', $priority: null})
7777
});
7878
});

0 commit comments

Comments
 (0)