summaryrefslogtreecommitdiff
path: root/spec/javascripts/issue_spec.js
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-04-05 17:17:02 +0200
committerJacopo <beschi.jacopo@gmail.com>2018-04-19 13:56:36 +0200
commit5a29a304be5fc86a5bbe61764c47cdd8069e2103 (patch)
tree97e0e8ac539e7e03fd562f2b3dc77611c246acd1 /spec/javascripts/issue_spec.js
parent674702e02e2654e539e1b3c9a12d6b9897a614cf (diff)
downloadgitlab-ce-5a29a304be5fc86a5bbe61764c47cdd8069e2103.tar.gz
Shows new branch/mr button even when branch exists
Diffstat (limited to 'spec/javascripts/issue_spec.js')
-rw-r--r--spec/javascripts/issue_spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/issue_spec.js b/spec/javascripts/issue_spec.js
index f37426a72d4..047ecab27db 100644
--- a/spec/javascripts/issue_spec.js
+++ b/spec/javascripts/issue_spec.js
@@ -92,6 +92,7 @@ describe('Issue', function() {
function mockCanCreateBranch(canCreateBranch) {
mock.onGet(/(.*)\/can_create_branch$/).reply(200, {
can_create_branch: canCreateBranch,
+ suggested_branch_name: 'foo-99',
});
}