Renamed all controlles from 'Ctrl' to 'Controller' to better follow angular best practices.
This commit is contained in:
parent
91b112cb0a
commit
226a768987
12 changed files with 49 additions and 71 deletions
|
@ -4,7 +4,7 @@ describe("Queue controller", function() {
|
|||
var player, $rootScope, scope, globals;
|
||||
|
||||
beforeEach(function() {
|
||||
module('jamstash.queue.ctrl');
|
||||
module('jamstash.queue.controller');
|
||||
|
||||
inject(function ($controller, _$rootScope_, _globals_, _player_) {
|
||||
$rootScope = _$rootScope_;
|
||||
|
@ -15,7 +15,7 @@ describe("Queue controller", function() {
|
|||
// Mock the functions of the services
|
||||
spyOn(player, "playSong").and.stub();
|
||||
|
||||
$controller('QueueCtrl', {
|
||||
$controller('QueueController', {
|
||||
$rootScope: $rootScope,
|
||||
$scope: scope,
|
||||
globals: globals,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue