This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
matthieupenchenat81 5f51010615 TG-117 : remove bootstrap css framework and replace by
angular-material and create login page
2017-03-05 10:59:31 +01:00

24 lines
550 B
JavaScript

'use strict';
describe('Controller: MainCtrl', function () {
// load the controller's module
beforeEach(module('frontendApp'));
var MainCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
MainCtrl = $controller('MainCtrl', {
$scope: scope
// place here mocked dependencies
});
}));
it('should attach a list of awesomeThings to the scope', function () {
expect(MainCtrl.awesomeThings.length).toBe(3);
});
});