diff options
| author | Phil Hughes <me@iamphill.com> | 2018-05-11 17:27:09 +0100 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2018-05-22 11:11:35 +0100 |
| commit | 21f861953958cece97df1ed2814e14bd67e1ddbe (patch) | |
| tree | c4153f3b84b0f5545288332f7c5e5e73dd8f9530 /spec/javascripts/helpers | |
| parent | 4d674bd38c8a3568f6e1295c25c902ef10151aef (diff) | |
| download | gitlab-ce-21f861953958cece97df1ed2814e14bd67e1ddbe.tar.gz | |
Show CI jobs in web IDE
Closes #44604
Diffstat (limited to 'spec/javascripts/helpers')
| -rw-r--r-- | spec/javascripts/helpers/vuex_action_helper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/helpers/vuex_action_helper.js b/spec/javascripts/helpers/vuex_action_helper.js index 83f29d1b0c2..d6ab0aeeed7 100644 --- a/spec/javascripts/helpers/vuex_action_helper.js +++ b/spec/javascripts/helpers/vuex_action_helper.js @@ -55,7 +55,7 @@ export default (action, payload, state, expectedMutations, expectedActions, done }; // call the action with mocked store and arguments - action({ commit, state, dispatch }, payload); + action({ commit, state, dispatch, rootState: state }, payload); // check if no mutations should have been dispatched if (expectedMutations.length === 0) { |
