Files
meanTorrent/public/modules/core/tests/header.spec.js
2014-02-10 13:09:31 +02:00

26 lines
572 B
JavaScript

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