Files
meanTorrent/modules/core/tests/client/home.client.controller.tests.js
Marek Grzybek d14d5130af feat(config): Deprecate JSHint in favor of ESLint
Add basic ESLint setup extending well-known Airbnb code style.

Fixes #1072, #1097
2016-03-15 19:11:12 +01:00

25 lines
583 B
JavaScript

'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();
});
});
}());