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
465d1879
Commit
465d1879
authored
Feb 13, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spinach test for wiki markdown render
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
c466f389
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
features/steps/project/source/markdown_render.rb
features/steps/project/source/markdown_render.rb
+10
-2
No files found.
features/steps/project/source/markdown_render.rb
View file @
465d1879
...
@@ -256,7 +256,11 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
...
@@ -256,7 +256,11 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
step
'I see Gitlab API document'
do
step
'I see Gitlab API document'
do
expect
(
current_path
).
to
eq
namespace_project_wiki_path
(
@project
.
namespace
,
@project
,
"api"
)
expect
(
current_path
).
to
eq
namespace_project_wiki_path
(
@project
.
namespace
,
@project
,
"api"
)
expect
(
page
).
to
have_content
"Edit Page api"
page
.
within
(
:css
,
".nav-text"
)
do
expect
(
page
).
to
have_content
"Edit"
expect
(
page
).
to
have_content
"Api"
end
end
end
step
'I click on Rake tasks link'
do
step
'I click on Rake tasks link'
do
...
@@ -265,7 +269,11 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
...
@@ -265,7 +269,11 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
step
'I see Rake tasks directory'
do
step
'I see Rake tasks directory'
do
expect
(
current_path
).
to
eq
namespace_project_wiki_path
(
@project
.
namespace
,
@project
,
"raketasks"
)
expect
(
current_path
).
to
eq
namespace_project_wiki_path
(
@project
.
namespace
,
@project
,
"raketasks"
)
expect
(
page
).
to
have_content
"Edit Page raketasks"
page
.
within
(
:css
,
".nav-text"
)
do
expect
(
page
).
to
have_content
"Edit"
expect
(
page
).
to
have_content
"Rake"
end
end
end
step
'I go directory which contains README file'
do
step
'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