[Tree] Refresh properly on mutation

...by removing the incorrect expectation that a domain object
(and not just its model) will be passed in when mutation occurs.
Addresses #745.
This commit is contained in:
Victor Woeltjen
2016-03-15 12:23:46 -07:00
parent d30532a8bc
commit 324c2cac03
2 changed files with 4 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ define([
beforeEach(function () {
mockComposition.pop();
testCapabilities.mutation.listen
.mostRecentCall.args[0](mockDomainObject);
.mostRecentCall.args[0](mockDomainObject.getModel());
waitForCompositionCallback();
});