2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 22:35:19 +00:00
This commit is contained in:
ssranjani06
2023-04-11 14:48:40 +05:30
parent ba79f7e97b
commit 244d210204

View File

@@ -64,9 +64,9 @@ describe('Controller: 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();
var validDomains = spyOn(this.scope, 'validDomains')
.and.stub();
expect(this.scope.myGroups).toEqual([{id: "all my groups", members: [{id: "userId"}]}]);
});