summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorJan Christophersen <jan@ruken.pw>2017-02-17 18:18:06 +0100
committerJan Christophersen <jan@ruken.pw>2017-02-24 16:35:34 +0100
commit150c3637521653a9e1200483376e4661ea2a46b3 (patch)
tree11c082e095baf32f2bb888f365df90fe99834544 /features
parent3589cc064c3ba0b5a6b062c317368dfe9183d1ba (diff)
downloadgitlab-ce-150c3637521653a9e1200483376e4661ea2a46b3.tar.gz
Add the username of the current user to the HTTP(S) clone URL
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