fixes unit tests

This commit is contained in:
Shannon
2013-10-09 20:36:12 +11:00
parent 659cba563a
commit c42e957c4c
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ describe('Content picker controller tests', function () {
//see /mocks/content.mocks.js for how its setup
entityMocks.register();
controller = $controller('Umbraco.Editors.ContentPickerController', {
controller = $controller('Umbraco.PropertyEditors.ContentPickerController', {
$scope: scope,
$routeParams: routeParams
});

View File

@@ -14,7 +14,7 @@ describe('Drop down controller tests', function () {
it('should define the default properties on construction', function () {
controllerFactory('Umbraco.Editors.DropdownController', {
controllerFactory('Umbraco.PropertyEditors.DropdownController', {
$scope: scope,
$routeParams: routeParams
});
@@ -32,7 +32,7 @@ describe('Drop down controller tests', function () {
}
};
controllerFactory('Umbraco.Editors.DropdownController', {
controllerFactory('Umbraco.PropertyEditors.DropdownController', {
$scope: scope,
$routeParams: routeParams
});
@@ -56,7 +56,7 @@ describe('Drop down controller tests', function () {
};
var test = function() {
controllerFactory('Umbraco.Editors.DropdownController', {
controllerFactory('Umbraco.PropertyEditors.DropdownController', {
$scope: scope,
$routeParams: routeParams
});
@@ -75,7 +75,7 @@ describe('Drop down controller tests', function () {
};
var test = function () {
controllerFactory('Umbraco.Editors.DropdownController', {
controllerFactory('Umbraco.PropertyEditors.DropdownController', {
$scope: scope,
$routeParams: routeParams
});