summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-02-13 23:45:15 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-02-13 23:45:15 +0800
commit2e9b6b533301f2bbf03104e8b27b6e6df0c3dcdf (patch)
tree74b1fb96297779fb926279840e73350f3f6365ab /qa
parentde484c6ba035a4b0ed0c0a42212aaedf9788c45c (diff)
downloadgitlab-ce-2e9b6b533301f2bbf03104e8b27b6e6df0c3dcdf.tar.gz
Add a comment about why @ is picked for ssh
Diffstat (limited to 'qa')
-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