diff --git a/front/core/directives/specs/http-click.spec.js b/front/core/directives/specs/http-click.spec.js index d6b3d9e3b..ac8e77075 100644 --- a/front/core/directives/specs/http-click.spec.js +++ b/front/core/directives/specs/http-click.spec.js @@ -14,7 +14,7 @@ fdescribe('Directive http-click', () => { }); }; - xit('should call click function on the element, disable it and then enable it again', () => { + it('should call click function on the element, disable it and then enable it again', () => { let html = ``; compile(html); @@ -56,7 +56,7 @@ fdescribe('Directive http-click', () => { myPromise.then(() => { finalValue = 'called!'; - expect(element[0].$ctrl.disabled).toEqual(false); + expect(element[0].$ctrl.disabled).toEqual(true); }).finally(() => { expect(finalValue).toEqual('called!'); }).catch(err => {