Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
d771253b
Commit
d771253b
authored
Sep 17, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix README anchor tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
5aee89d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
features/steps/project/browse_files.rb
features/steps/project/browse_files.rb
+3
-1
features/steps/project/markdown_render.rb
features/steps/project/markdown_render.rb
+11
-3
No files found.
features/steps/project/browse_files.rb
View file @
d771253b
...
@@ -77,7 +77,9 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
...
@@ -77,7 +77,9 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
end
end
step
'I click on readme file'
do
step
'I click on readme file'
do
click_link
'README.md'
within
'.tree-table'
do
click_link
'README.md'
end
end
end
step
'I see Browse file link'
do
step
'I see Browse file link'
do
...
...
features/steps/project/markdown_render.rb
View file @
d771253b
...
@@ -79,9 +79,17 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
...
@@ -79,9 +79,17 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
end
end
And
'I navigate to the doc/api/README'
do
And
'I navigate to the doc/api/README'
do
click_link
"doc"
within
'.tree-table'
do
click_link
"api"
click_link
"doc"
click_link
"README.md"
end
within
'.tree-table'
do
click_link
"api"
end
within
'.tree-table'
do
click_link
"README.md"
end
end
end
And
'I see correct file rendered'
do
And
'I see correct file rendered'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment