Merge "Add qtip job to pod zte-virtual6"
[releng.git] / utils / test / reporting / pages / test / spec / controllers / main.js
1 'use strict';
2
3 describe('Controller: MainCtrl', function () {
4
5   // load the controller's module
6   beforeEach(module('opnfvApp'));
7
8   var MainCtrl,
9     scope;
10
11   // Initialize the controller and a mock scope
12   beforeEach(inject(function ($controller, $rootScope) {
13     scope = $rootScope.$new();
14     MainCtrl = $controller('MainCtrl', {
15       $scope: scope
16       // place here mocked dependencies
17     });
18   }));
19
20   it('should attach a list of awesomeThings to the scope', function () {
21     expect(MainCtrl.awesomeThings.length).toBe(3);
22   });
23 });