3 describe('Controller: MainCtrl', function () {
5 // load the controller's module
6 beforeEach(module('opnfvApp'));
11 // Initialize the controller and a mock scope
12 beforeEach(inject(function ($controller, $rootScope) {
13 scope = $rootScope.$new();
14 MainCtrl = $controller('MainCtrl', {
16 // place here mocked dependencies
20 it('should attach a list of awesomeThings to the scope', function () {
21 expect(MainCtrl.awesomeThings.length).toBe(3);