Commit 133ebbf4 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

RSpec tests: fixing import of Git projects

Since we don't have any design ready for the case of Mercurial
projects, we'll have to go with hardcoding the "git" VCS type
for now.

--HG--
branch : heptapod
parent 914a0d2e731e
Pipeline #14562 skipped with stage
......@@ -71,6 +71,11 @@ def prepare_import_params
end
params[:import_data] = { data: data } if data.present?
# as of this writing we don't have any Mercurial project import
# capability. Will in particular be able to specify it upfront.
# Meanwhile, this fixes the import of Git projects, at least in RSpec
# tests:
params[:vcs_type] = "git"
end
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment