diff options
Diffstat (limited to 'web/src/js/__tests__/ducks/optionsSpec.js')
-rw-r--r-- | web/src/js/__tests__/ducks/optionsSpec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/js/__tests__/ducks/optionsSpec.js b/web/src/js/__tests__/ducks/optionsSpec.js index a0d11f9c..9178c14e 100644 --- a/web/src/js/__tests__/ducks/optionsSpec.js +++ b/web/src/js/__tests__/ducks/optionsSpec.js @@ -50,13 +50,13 @@ describe('sendUpdate', () => { }) }) -describe('dump', () => { +describe('save', () => { it('should dump options', () => { global.fetch = jest.fn() - store.dispatch(OptionsActions.dump()) + store.dispatch(OptionsActions.save()) expect(fetch).toBeCalledWith( - '/options/dump?_xsrf=undefined', + '/options/save?_xsrf=undefined', { credentials: "same-origin", method: "POST" |