Merge remote-tracking branch 'upstream/master' into mobile

This commit is contained in:
Shivam Dave
2015-09-01 14:50:45 -07:00
25 changed files with 975 additions and 38 deletions

View File

@@ -42,7 +42,9 @@ define(
"property" + name,
[ "getDefinition", "getValue", "setValue" ]
);
mockProperty.getDefinition.andReturn({});
mockProperty.getDefinition.andReturn({
control: "textfield"
});
mockProperty.getValue.andReturn(name);
return mockProperty;
}
@@ -157,4 +159,4 @@ define(
});
}
);
);

View File

@@ -201,16 +201,6 @@ define(
expect(mockLog.error).toHaveBeenCalled();
});
it("stores location on new domainObjects", function () {
var model = { name: "my model" },
objectPromise = creationService.createObject(
model,
mockParentObject
);
expect(model.location).toBe('parentId');
});
});
}
);