diff options
author | Stan Hu <stanhu@gmail.com> | 2015-04-29 10:33:49 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-04-30 16:56:49 +0300 |
commit | 9c76a6fa96bd3c48dc1a64aecb082d4bd87dc2ba (patch) | |
tree | 9f566f5e900de491b2a382489e3eebdb567c224c /spec/lib/gitlab/google_code_import | |
parent | 39a55bdf1a1613f362bcd7da444b291210454160 (diff) |
Show incompatible projects in Google Code import status
Importing a JSON file with only one Subversion project lead to confusion
over whether the system was working. Provide status why these projects
could not be imported directly.
Closes #1531
Diffstat (limited to 'spec/lib/gitlab/google_code_import')
-rw-r--r-- | spec/lib/gitlab/google_code_import/client_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/google_code_import/client_spec.rb b/spec/lib/gitlab/google_code_import/client_spec.rb index d2bf871daa8..a66b811e0fd 100644 --- a/spec/lib/gitlab/google_code_import/client_spec.rb +++ b/spec/lib/gitlab/google_code_import/client_spec.rb @@ -23,6 +23,7 @@ describe Gitlab::GoogleCodeImport::Client do describe "#repos" do it "returns only Git repositories" do expect(subject.repos.length).to eq(1) + expect(subject.incompatible_repos.length).to eq(1) end end |