summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-02-27 12:21:04 +0000
committerRémy Coutable <remy@rymai.me>2017-02-27 12:21:04 +0000
commitc425f366bfa84efab92b5d5e1d0721f16a2890bc (patch)
treecf15b4a5fdaa7959e81239e8202c7333eaa3f757 /features
parent82f6c0f5ac4ed29390ed90592d2c431f3494d93f (diff)
parent150c3637521653a9e1200483376e4661ea2a46b3 (diff)
downloadgitlab-ce-c425f366bfa84efab92b5d5e1d0721f16a2890bc.tar.gz
Merge branch '1937-https-clone-url-username' into 'master'
Add the username of the current user to the HTTP(S) clone URL Closes #1937 See merge request !9347
Diffstat (limited to 'features')
-rw-r--r--features/steps/explore/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/explore/projects.rb b/features/steps/explore/projects.rb
index 2b4a5ab0864..7dc33ab5683 100644
--- a/features/steps/explore/projects.rb
+++ b/features/steps/explore/projects.rb
@@ -49,7 +49,7 @@ class Spinach::Features::ExploreProjects < Spinach::FeatureSteps
step 'I should see an http link to the repository' do
project = Project.find_by(name: 'Community')
- expect(page).to have_field('project_clone', with: project.http_url_to_repo)
+ expect(page).to have_field('project_clone', with: project.http_url_to_repo(@user))
end
step 'I should see an ssh link to the repository' do