Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/resource/repository/wiki_push.rb')
-rw-r--r--qa/qa/resource/repository/wiki_push.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/qa/qa/resource/repository/wiki_push.rb b/qa/qa/resource/repository/wiki_push.rb
index 8edaff70ac6..06cca85cbb2 100644
--- a/qa/qa/resource/repository/wiki_push.rb
+++ b/qa/qa/resource/repository/wiki_push.rb
@@ -21,7 +21,14 @@ module QA
end
def repository_http_uri
- @repository_http_uri ||= wiki.repository_http_location.uri
+ @repository_http_uri ||= begin
+ wiki.visit!
+ Page::Project::Wiki::Show.act do
+ click_clone_repository
+ choose_repository_clone_http
+ repository_location.uri
+ end
+ end
end
def repository_ssh_uri