[Core] Specs for model service components

Fill in specs for model service components, part of
bundle platform/core; WTD-573.
This commit is contained in:
Victor Woeltjen
2014-11-21 17:25:10 -08:00
parent 99f9203e71
commit c34c16e51c
5 changed files with 158 additions and 3 deletions

View File

@ -20,10 +20,10 @@ define(
*
* @constructor
*/
function RootModelProvider(roots, $log) {
function RootModelProvider(roots, $q, $log) {
// Pull out identifiers to used as ROOT's
var ids = roots.map(function (root) { return root.id; }),
baseProvider = new StaticModelProvider(roots, $log);
baseProvider = new StaticModelProvider(roots, $q, $log);
function addRoot(models) {
models.ROOT = {