fixed eslint rules

This commit is contained in:
Joan Sanchez 2018-05-31 14:48:10 +02:00
parent 20897a287e
commit 4173180fde
8 changed files with 19 additions and 19 deletions

View File

@ -64,6 +64,7 @@ describe('Client', () => {
it('should define the classificationId property of the controller and then call the show method()', () => {
controller.$scope.closeContract = {show: () => {}};
spyOn(controller.$scope.closeContract, 'show');
expect(controller.classificationId).toBeFalsy();
controller.closeContract({id: 1});

View File

@ -39,8 +39,7 @@ class Controller {
this.$http.get(query).then(res => {
if (res.data)
this.ticket = res.data;
}
);
});
}
$onInit() {