From d819d0d1f84946bcc0d2c871682c220db6dbd478 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Thu, 23 Jan 2014 13:47:54 +0100 Subject: Use the correct paths. --- features/steps/project/project_markdown_render.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'features') diff --git a/features/steps/project/project_markdown_render.rb b/features/steps/project/project_markdown_render.rb index a74a8909140..a6c13b41e91 100644 --- a/features/steps/project/project_markdown_render.rb +++ b/features/steps/project/project_markdown_render.rb @@ -50,7 +50,7 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps end Then 'I should see correct doc/api directory rendered' do - current_path.should == project_tree_path(@project, "master/doc/api") + current_path.should == project_tree_path(@project, "master/doc/api/") page.should have_content "README.md" page.should have_content "users.md" end @@ -60,7 +60,7 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps end Then 'I should see correct maintenance file rendered' do - current_path.should == project_blob_path(@project, "doc/raketasks/maintenance.md") + current_path.should == project_blob_path(@project, "master/doc/raketasks/maintenance.md") page.should have_content "bundle exec rake gitlab:env:info RAILS_ENV=production" end -- cgit v1.2.1