summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-11-20 11:44:42 +0000
committerPhil Hughes <me@iamphill.com>2018-11-20 11:44:42 +0000
commitac8895b7413080a0f1a1bfe92227d3871e0ba1c7 (patch)
treead83719c1e57f26d0082d9c9ef5c68eeac0935d3 /spec
parent117fb4487361aa86f6c1bf8e52e30d5e8e2c6630 (diff)
downloadgitlab-ce-ac8895b7413080a0f1a1bfe92227d3871e0ba1c7.tar.gz
Open first 10 merge request files in IDE
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51635
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/ide/stores/actions/merge_request_spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/ide/stores/actions/merge_request_spec.js b/spec/javascripts/ide/stores/actions/merge_request_spec.js
index 3a4e0d7507f..950c447f924 100644
--- a/spec/javascripts/ide/stores/actions/merge_request_spec.js
+++ b/spec/javascripts/ide/stores/actions/merge_request_spec.js
@@ -321,6 +321,7 @@ describe('IDE store merge request actions', () => {
expect(store.dispatch).toHaveBeenCalledWith('getFileData', {
path: change.new_path,
makeFileActive: i === 0,
+ openFile: true,
});
});
})