tellform/public/modules/core/tests/home.client.controller.test.js
David Baldwynn 87b351efea first commit
2015-06-29 15:51:29 -07:00

24 lines
540 B
JavaScript
Executable file

'use strict';
(function() {
describe('HomeController', function() {
//Initialize global variables
var scope,
HomeController;
// Load the main application module
beforeEach(module(ApplicationConfiguration.applicationModuleName));
beforeEach(inject(function($controller, $rootScope) {
scope = $rootScope.$new();
HomeController = $controller('HomeController', {
$scope: scope
});
}));
it('should expose the authentication service', function() {
expect(scope.authentication).toBeTruthy();
});
});
})();