2015-03-06 12:00:10 -03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
describe('menuController', function(){
|
2015-04-11 12:16:16 -03:00
|
|
|
var state, scope, controller;
|
2015-03-06 12:00:10 -03:00
|
|
|
|
|
|
|
|
beforeEach(angular.mock.module('copayApp.controllers'));
|
2015-04-11 12:16:16 -03:00
|
|
|
beforeEach(angular.mock.module('stateMock'));
|
|
|
|
|
beforeEach(angular.mock.inject(function($rootScope, $controller, $state){
|
|
|
|
|
state = $state;
|
2015-03-06 12:00:10 -03:00
|
|
|
scope = $rootScope.$new();
|
|
|
|
|
controller = $controller('menuController', {$scope: scope});
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
it('should have a menu variable', function(){
|
|
|
|
|
expect(controller.menu).not.toBeUndefined();
|
|
|
|
|
});
|
|
|
|
|
});
|