summaryrefslogtreecommitdiff
path: root/spec/javascripts/ide/mock_data.js
diff options
context:
space:
mode:
authorSam Bigelow <sbigelow@gitlab.com>2019-06-03 17:00:31 -0400
committerSam Bigelow <sbigelow@gitlab.com>2019-06-06 00:12:21 -0400
commitbf8ab1243356e5732ce1a07ea5fb3ea98549635d (patch)
tree4c8db8b586182f9e2efc5d69d191b2d55caadb63 /spec/javascripts/ide/mock_data.js
parent55920e074c2352e41394eca63d5b7fb03284e352 (diff)
downloadgitlab-ce-60034-default-web-ide-s-merge-request-checkbox-to-true.tar.gz
Default MR checkbox to true in most cases60034-default-web-ide-s-merge-request-checkbox-to-true
- Pull the new MR option out into it's own component - Default MR checkbox to true when creating a new MR and committing to a branch that does not have an MR - Still change the MR checkbox to false when a user is on a branch that already has an MR - Hide MR option when on a branch that already has an MR and committing to current branch - Don't default to true when committing directly to master
Diffstat (limited to 'spec/javascripts/ide/mock_data.js')
-rw-r--r--spec/javascripts/ide/mock_data.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/ide/mock_data.js b/spec/javascripts/ide/mock_data.js
index 4fe826943b2..570a396c5e3 100644
--- a/spec/javascripts/ide/mock_data.js
+++ b/spec/javascripts/ide/mock_data.js
@@ -16,6 +16,7 @@ export const projectData = {
},
mergeRequests: {},
merge_requests_enabled: true,
+ default_branch: 'master',
};
export const pipelines = [