diff options
Diffstat (limited to 'spec/javascripts/vuex_shared/modules')
-rw-r--r-- | spec/javascripts/vuex_shared/modules/modal/actions_spec.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/spec/javascripts/vuex_shared/modules/modal/actions_spec.js b/spec/javascripts/vuex_shared/modules/modal/actions_spec.js deleted file mode 100644 index 2c4cb845424..00000000000 --- a/spec/javascripts/vuex_shared/modules/modal/actions_spec.js +++ /dev/null @@ -1,31 +0,0 @@ -import testAction from 'spec/helpers/vuex_action_helper'; -import * as types from '~/vuex_shared/modules/modal/mutation_types'; -import * as actions from '~/vuex_shared/modules/modal/actions'; - -describe('Vuex ModalModule actions', () => { - describe('open', () => { - it('works', done => { - const data = { id: 7 }; - - testAction(actions.open, data, {}, [{ type: types.OPEN, payload: data }], [], done); - }); - }); - - describe('close', () => { - it('works', done => { - testAction(actions.close, null, {}, [{ type: types.CLOSE }], [], done); - }); - }); - - describe('show', () => { - it('works', done => { - testAction(actions.show, null, {}, [{ type: types.SHOW }], [], done); - }); - }); - - describe('hide', () => { - it('works', done => { - testAction(actions.hide, null, {}, [{ type: types.HIDE }], [], done); - }); - }); -}); |