passman/tests/unit/js/app/controllers/share_settingsTest.js

16 lines
531 B
JavaScript
Raw Normal View History

describe('SharingSettingsCtrl', function() {
var ctrl, scope, rootScope;
beforeEach(module('passmanApp'));
beforeEach(module('LocalStorageModule'));
beforeEach(module('mock.credentialsService'));
beforeEach(inject(function($controller, $rootScope, _CredentialService_, SettingsService) { // inject mocked service
scope = $rootScope.$new();
rootScope = $rootScope;
ctrl = $controller('SharingSettingsCtrl', {
$scope: scope,
CredentialService: _CredentialService_,
SettingService: SettingsService
});
}));
});