summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-01-23 13:47:54 +0100
committerMarin Jankovski <marin@gitlab.com>2014-01-23 16:00:39 +0100
commitd819d0d1f84946bcc0d2c871682c220db6dbd478 (patch)
tree0ec267ecad9634c68223473f8acff4797e7db430 /features
parent3bcfdf07cd81408105cb912ceb64532688e1e9cd (diff)
downloadgitlab-ce-d819d0d1f84946bcc0d2c871682c220db6dbd478.tar.gz
Use the correct paths.
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/project_markdown_render.rb4
1 files changed, 2 insertions, 2 deletions
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