diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-05 00:10:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-05 00:10:41 +0000 |
commit | 415153114ac36a0e25b6beb6f0543581bcedc54c (patch) | |
tree | 7766607058528a92efb52f05fe03005a9392a0ea /spec/frontend/api_spec.js | |
parent | 4f49d2c8cd9b0c54c1055480df5cde2e13d7c76d (diff) | |
download | gitlab-ce-415153114ac36a0e25b6beb6f0543581bcedc54c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/api_spec.js')
-rw-r--r-- | spec/frontend/api_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/api_spec.js b/spec/frontend/api_spec.js index cb29dab86bf..139128e6d4a 100644 --- a/spec/frontend/api_spec.js +++ b/spec/frontend/api_spec.js @@ -930,7 +930,7 @@ describe('Api', () => { describe('createBranch', () => { it('creates new branch', (done) => { - const ref = 'master'; + const ref = 'main'; const branch = 'new-branch-name'; const dummyProjectPath = 'gitlab-org/gitlab-ce'; const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${encodeURIComponent( @@ -1262,7 +1262,7 @@ describe('Api', () => { )}/merge_requests`; const options = { source_branch: 'feature', - target_branch: 'master', + target_branch: 'main', title: 'Add feature', }; |