summaryrefslogtreecommitdiff
path: root/spec/controllers/import/gitea_controller_spec.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-12-15 17:36:53 +0100
committerRémy Coutable <remy@rymai.me>2016-12-19 17:35:51 +0100
commit99ddd1dcbed35b642d7bd8a52cc6e5e5453b9f8b (patch)
tree9dd65c4f4cd9d396f4360331bfce519109bab5c1 /spec/controllers/import/gitea_controller_spec.rb
parent103114e3d73819f76bed9d8ad1bbdb8964875579 (diff)
downloadgitlab-ce-99ddd1dcbed35b642d7bd8a52cc6e5e5453b9f8b.tar.gz
Modify GithubImport to support Gitea
The reason is that Gitea plan to be GitHub-compatible so it makes sense to just modify GitHubImport a bit for now, and hopefully we can change it to GitHubishImport once Gitea is 100%-compatible. Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/controllers/import/gitea_controller_spec.rb')
-rw-r--r--spec/controllers/import/gitea_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/import/gitea_controller_spec.rb b/spec/controllers/import/gitea_controller_spec.rb
index 3064d1dd58a..3643386ffbc 100644
--- a/spec/controllers/import/gitea_controller_spec.rb
+++ b/spec/controllers/import/gitea_controller_spec.rb
@@ -29,7 +29,7 @@ describe Import::GiteaController do
before do
assign_host_url
end
- let(:extra_assign_expectations) { { gitea_root_url: host_url } }
+ let(:extra_assign_expectations) { { gitea_host_url: host_url } }
end
end