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
Léo-Paul Géneau
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
Show 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,8 +77,10 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
...
@@ -77,8 +77,10 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
end
end
step
'I click on readme file'
do
step
'I click on readme file'
do
within
'.tree-table'
do
click_link
'README.md'
click_link
'README.md'
end
end
end
step
'I see Browse file link'
do
step
'I see Browse file link'
do
page
.
should
have_link
'Browse File »'
page
.
should
have_link
'Browse File »'
...
...
features/steps/project/markdown_render.rb
View file @
d771253b
...
@@ -79,10 +79,18 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
...
@@ -79,10 +79,18 @@ 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
within
'.tree-table'
do
click_link
"doc"
click_link
"doc"
end
within
'.tree-table'
do
click_link
"api"
click_link
"api"
end
within
'.tree-table'
do
click_link
"README.md"
click_link
"README.md"
end
end
end
And
'I see correct file rendered'
do
And
'I see correct file rendered'
do
current_path
.
should
==
project_blob_path
(
@project
,
"markdown/doc/api/README.md"
)
current_path
.
should
==
project_blob_path
(
@project
,
"markdown/doc/api/README.md"
)
...
...
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