fix test
gitea/salix/2056-entry_descriptor This commit looks good
Details
gitea/salix/2056-entry_descriptor This commit looks good
Details
This commit is contained in:
parent
b37e8da410
commit
bbba294b79
|
@ -20,12 +20,6 @@ describe('component vnTravelSummary', () => {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
describe('travel setter/getter', () => {
|
describe('travel setter/getter', () => {
|
||||||
it('should return the travel', () => {
|
|
||||||
controller.travel = {id: null};
|
|
||||||
|
|
||||||
expect(controller.travel).toEqual(jasmine.any(Object));
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should return the travel and then call both getTravel() and getEntries()', () => {
|
it('should return the travel and then call both getTravel() and getEntries()', () => {
|
||||||
spyOn(controller, 'getTravel');
|
spyOn(controller, 'getTravel');
|
||||||
spyOn(controller, 'getEntries');
|
spyOn(controller, 'getEntries');
|
||||||
|
|
Loading…
Reference in New Issue