summaryrefslogtreecommitdiff
path: root/features/project/source
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-01-23 11:08:57 +0100
committerMarin Jankovski <marin@gitlab.com>2014-01-23 11:08:57 +0100
commitc6b9767e74421bae7f0532ce7fab8753863e94f0 (patch)
tree86dab190253f51a8b6322ef8aab3ec02e5aa804f /features/project/source
parent462161a3b07369d0df68b0298929b3f89cf46c03 (diff)
downloadgitlab-ce-c6b9767e74421bae7f0532ce7fab8753863e94f0.tar.gz
Test if the views behave correctly with reference style relative links.
Diffstat (limited to 'features/project/source')
-rw-r--r--features/project/source/markdown_render.feature12
1 files changed, 12 insertions, 0 deletions
diff --git a/features/project/source/markdown_render.feature b/features/project/source/markdown_render.feature
index 8b4b89e85af..04467b66648 100644
--- a/features/project/source/markdown_render.feature
+++ b/features/project/source/markdown_render.feature
@@ -16,6 +16,18 @@ Feature: Project markdown render
And I click on Rake tasks in README
Then I should see correct directory rendered
+ Scenario: I view README in master branch to see reference links to directory
+ Then I should see files from repository in master
+ And I should see rendered README which contains correct links
+ And I click on GitLab API doc directory in README
+ Then I should see correct doc/api directory rendered
+
+ Scenario: I view README in master branch to see reference links to file
+ Then I should see files from repository in master
+ And I should see rendered README which contains correct links
+ And I click on Maintenance in README
+ Then I should see correct maintenance file rendered
+
Scenario: I navigate to doc directory to view documentation in master
And I navigate to the doc/api/README
And I see correct file rendered