[Edit] Update failing specs

Update failing specs in Edit mode with changes made for revision
checking, WTD-1033.
This commit is contained in:
Victor Woeltjen
2015-03-24 16:31:14 -07:00
parent 5867f8ad98
commit 35371f89ab
3 changed files with 12 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/*global define,describe,it,expect,beforeEach*/
/*global define,describe,it,expect,beforeEach,jasmine*/
define(
["../../src/objects/EditableDomainObjectCache"],
@ -10,6 +10,7 @@ define(
var captured,
completionCapability,
object,
mockQ,
cache;
@ -33,6 +34,7 @@ define(
}
beforeEach(function () {
mockQ = jasmine.createSpyObj('$q', ['when', 'all']);
captured = {};
completionCapability = {
save: function () {
@ -40,7 +42,7 @@ define(
}
};
cache = new EditableDomainObjectCache(WrapObject);
cache = new EditableDomainObjectCache(WrapObject, mockQ);
});
it("wraps objects using provided constructor", function () {