summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-03-30 10:50:29 +0200
committerGabriel Mazetto <brodock@gmail.com>2017-04-03 12:45:31 +0200
commitd5f340943e76f952fb566509ea7bc9aefcedf6fd (patch)
tree583410e30097d599d343fe687baa1b7476d344f6
parent3ac5e9ebbf0d7db8c4960754296f33f06986597d (diff)
downloadgitlab-ce-29541-fix-github-importer-deleted-fork.tar.gz
-rw-r--r--spec/lib/gitlab/github_import/pull_request_formatter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb b/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb
index 14cb8ac0679..9b9f7e4d34e 100644
--- a/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb
+++ b/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb
@@ -240,7 +240,7 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do
context 'when target branch does not exist' do
let(:raw_data) { double(base_data.merge(base: removed_branch)) }
- it 'prefixes branch name with to avoid collision' do
+ it 'prefixes branch name with gh-:short_sha/:number/:user pattern to avoid collision' do
expect(pull_request.target_branch_name).to eq 'gl-2e5d3239/1347/octocat/removed-branch'
end
end