From 4b1e88cc1c8a1d11f49daa96fef42e5957071b0c Mon Sep 17 00:00:00 2001 From: Dani Herrero Date: Wed, 20 Sep 2017 14:23:53 +0200 Subject: [PATCH] removed autocomplete folder --- .../src/autocomplete/autocomplete.spec.js | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 client/core/src/autocomplete/autocomplete.spec.js diff --git a/client/core/src/autocomplete/autocomplete.spec.js b/client/core/src/autocomplete/autocomplete.spec.js deleted file mode 100644 index 5d76a26d0..000000000 --- a/client/core/src/autocomplete/autocomplete.spec.js +++ /dev/null @@ -1,25 +0,0 @@ -import './autocomplete.js'; - -describe('Core', () => { - describe('Component mdlUpdate', () => { - let $componentController; - let $state; - - beforeEach(() => { - angular.mock.module('client'); - }); - - beforeEach(angular.mock.inject((_$componentController_, _$state_) => { - $componentController = _$componentController_; - $state = _$state_; - $state.params.id = '1234'; - })); - - it('should define and set address property', () => { - let controller = $componentController('vnAddressCreate', {$state: $state}); - - expect(controller.address.clientFk).toBe(1234); - expect(controller.address.enabled).toBe(true); - }); - }); -});