2015-12-12 20:08:48 +00:00
|
|
|
'use strict';
|
2015-06-29 22:51:29 +00:00
|
|
|
|
2015-12-12 20:08:48 +00:00
|
|
|
(function() {
|
|
|
|
describe('HomeController', function() {
|
|
|
|
//Initialize global variables
|
|
|
|
var scope,
|
|
|
|
HomeController;
|
2015-06-29 22:51:29 +00:00
|
|
|
|
2015-12-12 20:08:48 +00:00
|
|
|
// Load the main application module
|
|
|
|
beforeEach(module(ApplicationConfiguration.applicationModuleName));
|
2015-06-29 22:51:29 +00:00
|
|
|
|
2015-12-12 20:08:48 +00:00
|
|
|
beforeEach(inject(function($controller, $rootScope) {
|
|
|
|
scope = $rootScope.$new();
|
2015-06-29 22:51:29 +00:00
|
|
|
|
2015-12-12 20:08:48 +00:00
|
|
|
HomeController = $controller('HomeController', {
|
|
|
|
$scope: scope
|
|
|
|
});
|
|
|
|
}));
|
2015-06-29 22:51:29 +00:00
|
|
|
|
2015-12-12 20:08:48 +00:00
|
|
|
it('should expose the authentication service', function() {
|
|
|
|
expect(scope.authentication).toBeTruthy();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})();
|