Call correct action in spec

This commit is contained in:
Filipa Lacerda 2018-07-09 13:19:12 +01:00
parent 1070558d55
commit eed8e8ff70
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8

View file

@ -13,7 +13,7 @@ describe('InlineDiffView', () => {
beforeEach(() => { beforeEach(() => {
const diffFile = getDiffFileMock(); const diffFile = getDiffFileMock();
store.dispatch('setInlineDiffViewType'); store.dispatch('diffs/setInlineDiffViewType');
component = createComponentWithStore(Vue.extend(InlineDiffView), store, { component = createComponentWithStore(Vue.extend(InlineDiffView), store, {
diffFile, diffFile,
diffLines: diffFile.highlightedDiffLines, diffLines: diffFile.highlightedDiffLines,