Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-03-30 11:50:29 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-04-03 13:45:31 +0300
commitd5f340943e76f952fb566509ea7bc9aefcedf6fd (patch)
tree583410e30097d599d343fe687baa1b7476d344f6 /spec
parent3ac5e9ebbf0d7db8c4960754296f33f06986597d (diff)
Fix specs
Diffstat (limited to 'spec')
-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