From 150c3637521653a9e1200483376e4661ea2a46b3 Mon Sep 17 00:00:00 2001 From: Jan Christophersen Date: Fri, 17 Feb 2017 18:18:06 +0100 Subject: Add the username of the current user to the HTTP(S) clone URL --- features/steps/explore/projects.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') 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 -- cgit v1.2.3