BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3f818a3d
Commit
3f818a3d
authored
Mar 17, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wiki tests.
parent
f04d5bfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
markdown_render.rb
features/steps/project/markdown_render.rb
+5
-6
No files found.
features/steps/project/markdown_render.rb
View file @
3f818a3d
...
...
@@ -203,7 +203,7 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
end
And
'I add various links to the wiki page'
do
fill_in
"wiki[content]"
,
with:
"[test](test)
\n
[GitLab API doc](
doc/api/README.md)
\n
[Rake tasks](doc/
raketasks)
\n
"
fill_in
"wiki[content]"
,
with:
"[test](test)
\n
[GitLab API doc](
api)
\n
[Rake tasks](
raketasks)
\n
"
fill_in
"wiki[message]"
,
with:
"Adding links to wiki"
click_button
"Create page"
end
...
...
@@ -242,8 +242,8 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
end
Then
'I see Gitlab API document'
do
current_path
.
should
==
project_
blob_path
(
@project
,
"master/doc/api/README.md
"
)
page
.
should
have_content
"
Status codes
"
current_path
.
should
==
project_
wiki_path
(
@project
,
"api
"
)
page
.
should
have_content
"
Editing
"
end
And
'I click on Rake tasks link'
do
...
...
@@ -251,9 +251,8 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
end
Then
'I see Rake tasks directory'
do
current_path
.
should
==
project_tree_path
(
@project
,
"master/doc/raketasks"
)
page
.
should
have_content
"backup_restore.md"
page
.
should
have_content
"maintenance.md"
current_path
.
should
==
project_wiki_path
(
@project
,
"raketasks"
)
page
.
should
have_content
"Editing"
end
Given
'I go directory which contains README file'
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