Skip to content
This repository has been archived by the owner on Dec 28, 2017. It is now read-only.

Commit

Permalink
improve naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethlynne committed Mar 15, 2014
1 parent e1322e3 commit 6eb9dad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/pages/admin/videos/import/index/import-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ angular.module('ndc')
$stateProvider.state('administrateVideos.import', stateFactory('Import', {
url: '/videos/import',
templateUrl: 'pages/admin/videos/import/index/main-view.html',
parent: 'admin'
parent: 'admin',
controller: 'AdminImportVideoCtrl'
}));
})
.controller('ImportCtrl', function ($scope) {
.controller('AdminImportVideoCtrl', function ($scope) {
$scope.foo = 'bar';
});
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

describe('Controller(/admin/videos/import): ImportCtrl', function () {
describe('Controller(/admin/videos/import): AdminImportVideoCtrl', function () {

var ImportCtrl, scope;

Expand All @@ -10,7 +10,7 @@ describe('Controller(/admin/videos/import): ImportCtrl', function () {

inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
ImportCtrl = $controller('ImportCtrl', {
ImportCtrl = $controller('AdminImportVideoCtrl', {
$scope: scope
});
});
Expand Down

0 comments on commit 6eb9dad

Please sign in to comment.