diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-10-28 08:48:08 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-10-28 08:48:08 +0000 |
commit | 66870960af8d8a4cafec4abc529bd073d23fd1e4 (patch) | |
tree | 742bd65b043cfcc3e6190d40953d41fa70cc6bdb /spec/lib | |
parent | 20a7db4483904c7280093a0309a63dfd1b7ef72e (diff) | |
parent | ce38ae8ca15714e710c5198d201336f3651ad788 (diff) | |
download | gitlab-ce-66870960af8d8a4cafec4abc529bd073d23fd1e4.tar.gz |
Merge branch 'fix/gh-import-bugs' into 'master'
Fix couple of GitHub importing bugs
Fix a bug in GH comment importing and label applying for imported MRs.
See merge request !7139
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/github_import/importer_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/github_import/importer_spec.rb b/spec/lib/gitlab/github_import/importer_spec.rb index 1af553f8f03..84f280ceaae 100644 --- a/spec/lib/gitlab/github_import/importer_spec.rb +++ b/spec/lib/gitlab/github_import/importer_spec.rb @@ -154,6 +154,7 @@ describe Gitlab::GithubImport::Importer, lib: true do { type: :label, url: "https://api.github.com/repos/octocat/Hello-World/labels/bug", errors: "Validation failed: Title can't be blank, Title is invalid" }, { type: :milestone, url: "https://api.github.com/repos/octocat/Hello-World/milestones/1", errors: "Validation failed: Title has already been taken" }, { type: :issue, url: "https://api.github.com/repos/octocat/Hello-World/issues/1348", errors: "Validation failed: Title can't be blank, Title is too short (minimum is 0 characters)" }, + { type: :pull_request, url: "https://api.github.com/repos/octocat/Hello-World/pulls/1347", errors: "Invalid Repository. Use user/repo format." }, { type: :pull_request, url: "https://api.github.com/repos/octocat/Hello-World/pulls/1347", errors: "Validation failed: Validate branches Cannot Create: This merge request already exists: [\"New feature\"]" }, { type: :wiki, errors: "Gitlab::Shell::Error" }, { type: :release, url: 'https://api.github.com/repos/octocat/Hello-World/releases/2', errors: "Validation failed: Description can't be blank" } |