Commit 8b240e6c authored by Phil Hughes's avatar Phil Hughes

fixed file action spec

parent 3366ff9e
...@@ -511,7 +511,10 @@ describe('IDE store file actions', () => { ...@@ -511,7 +511,10 @@ describe('IDE store file actions', () => {
actions.stageChange, actions.stageChange,
'path', 'path',
store.state, store.state,
[{ type: types.STAGE_CHANGE, payload: 'path' }], [
{ type: types.STAGE_CHANGE, payload: 'path' },
{ type: types.SET_LAST_COMMIT_MSG, payload: '' },
],
[], [],
done, done,
); );
...@@ -524,7 +527,10 @@ describe('IDE store file actions', () => { ...@@ -524,7 +527,10 @@ describe('IDE store file actions', () => {
actions.unstageChange, actions.unstageChange,
'path', 'path',
store.state, store.state,
[{ type: types.UNSTAGE_CHANGE, payload: 'path' }], [
{ type: types.UNSTAGE_CHANGE, payload: 'path' },
{ type: types.SET_LAST_COMMIT_MSG, payload: '' },
],
[], [],
done, done,
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment