mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-18 10:46:35 +00:00
Update symbol.service.spec.ts
This commit is contained in:
parent
a7528fe990
commit
02c5c85148
@ -48,12 +48,4 @@ describe('SymbolService', () => {
|
|||||||
const req = httpTestingController.expectOne('http://127.0.0.1:3080/v3/symbols/:my/tested.png/raw');
|
const req = httpTestingController.expectOne('http://127.0.0.1:3080/v3/symbols/:my/tested.png/raw');
|
||||||
expect(req.request.method).toEqual('GET');
|
expect(req.request.method).toEqual('GET');
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('should call load symbols while adding symbol', inject([SymbolService], (service: SymbolService) => {
|
|
||||||
spyOn(service, 'load');
|
|
||||||
|
|
||||||
service.add(server, 'symbolName', 'symbol');
|
|
||||||
|
|
||||||
expect(service.load).toHaveBeenCalled();
|
|
||||||
}));
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user