summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/google_code_import
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-04-29 00:33:49 -0700
committerStan Hu <stanhu@gmail.com>2015-04-30 06:56:49 -0700
commit9c76a6fa96bd3c48dc1a64aecb082d4bd87dc2ba (patch)
tree9f566f5e900de491b2a382489e3eebdb567c224c /spec/lib/gitlab/google_code_import
parent39a55bdf1a1613f362bcd7da444b291210454160 (diff)
downloadgitlab-ce-9c76a6fa96bd3c48dc1a64aecb082d4bd87dc2ba.tar.gz
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.rb1
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