mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-27 17:04:43 +08:00
16 lines
531 B
JavaScript
16 lines
531 B
JavaScript
|
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
|
||
|
});
|
||
|
}));
|
||
|
});
|