mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-09-04 00:05:12 +00:00
update
This commit is contained in:
@@ -64,9 +64,9 @@ describe('Controller: ZonesController', function () {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
it('test that we properly get users groups when loading ZonesController', function(){
|
it('test that we properly get users groups when loading ZonesController', function(){
|
||||||
|
var validDomains = spyOn(this.scope, 'validDomains')
|
||||||
|
.and.stub();
|
||||||
this.scope.$digest();
|
this.scope.$digest();
|
||||||
var validDomains = spyOn(this.scope, 'validDomains')
|
|
||||||
.and.stub();
|
|
||||||
expect(this.scope.myGroups).toEqual([{id: "all my groups", members: [{id: "userId"}]}]);
|
expect(this.scope.myGroups).toEqual([{id: "all my groups", members: [{id: "userId"}]}]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user