From 613e209af3c8070a51068c4a0b7f06b36efdd72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 3 Feb 2015 22:18:16 +0100 Subject: [PATCH] Fixed solo panel unit test --- src/test/specs/soloPanelCtrl-specs.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/test/specs/soloPanelCtrl-specs.js b/src/test/specs/soloPanelCtrl-specs.js index 2e37ee6ca4a..4908a04f99f 100644 --- a/src/test/specs/soloPanelCtrl-specs.js +++ b/src/test/specs/soloPanelCtrl-specs.js @@ -1,6 +1,6 @@ define([ 'helpers', - 'features/dashboard/soloPanelCtrl', + 'features/panel/soloPanelCtrl', 'features/dashboard/dashboardSrv', ], function(helpers) { 'use strict'; @@ -31,16 +31,18 @@ define([ beforeEach(function() { var dashboard = { - rows: [ - { - panels: [ - { - id: 23, - some: 'prop' - } - ] - } - ] + model: { + rows: [ + { + panels: [ + { + id: 23, + some: 'prop' + } + ] + } + ] + } }; routeParams.id = 1;