diff options
| author | Filipa Lacerda <filipa@gitlab.com> | 2017-11-07 20:04:36 +0000 |
|---|---|---|
| committer | Filipa Lacerda <filipa@gitlab.com> | 2017-11-07 20:04:36 +0000 |
| commit | 2a6c8647435f7a44227d4a23aeab7d4b08b49f9e (patch) | |
| tree | 9e15e89c08d872ed0126d4195feefda5d0b2059f | |
| parent | 244ced4856c8ea335d36edac950265efa4ba55e7 (diff) | |
| download | gitlab-ce-2a6c8647435f7a44227d4a23aeab7d4b08b49f9e.tar.gz | |
Cleanup tests
| -rw-r--r-- | spec/javascripts/vue_mr_widget/mr_widget_options_spec.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js b/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js index ba3721e7c84..832ed5915ca 100644 --- a/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js +++ b/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js @@ -316,28 +316,6 @@ describe('mrWidgetOptions', () => { expect(vm.pollingInterval.stopTimer).toHaveBeenCalled(); }); }); - - describe('createService', () => { - it('should instantiate a Service', () => { - const endpoints = { - mergePath: '/nice/path', - mergeCheckPath: '/nice/path', - cancelAutoMergePath: '/nice/path', - removeWIPPath: '/nice/path', - sourceBranchPath: '/nice/path', - ciEnvironmentsStatusPath: '/nice/path', - statusPath: '/nice/path', - mergeActionsContentPath: '/nice/path', - }; - - const serviceInstance = vm.createService(endpoints); - const isInstanceOfMRService = serviceInstance instanceof MRWidgetService; - expect(isInstanceOfMRService).toBe(true); - Object.keys(serviceInstance).forEach((key) => { - expect(serviceInstance[key]).toBeDefined(); - }); - }); - }); }); describe('components', () => { |
