summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qa/qa/page/project/show.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb
index 834a36c4bd0..8d4a8c51184 100644
--- a/qa/qa/page/project/show.rb
+++ b/qa/qa/page/project/show.rb
@@ -26,6 +26,9 @@ module QA
end
def choose_repository_clone_ssh
+ # It's not always beginning with ssh:// so detecting with @
+ # would be more reliable because ssh would always contain it.
+ # We can't use .git because HTTP also contain that part.
choose_repository_clone('SSH', '@')
end