Files
meanTorrent/test/karma/unit/controllers/headers.spec.js
2013-12-25 16:36:33 +02:00

26 lines
659 B
JavaScript

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