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
Tatuya Kamada
gitlab-ce
Commits
5ab1b11e
Commit
5ab1b11e
authored
Dec 03, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
97ddf2df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
features/steps/project/source/markdown_render.rb
features/steps/project/source/markdown_render.rb
+2
-2
features/steps/project/wiki.rb
features/steps/project/wiki.rb
+1
-1
No files found.
features/steps/project/source/markdown_render.rb
View file @
5ab1b11e
...
@@ -252,7 +252,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
...
@@ -252,7 +252,7 @@ 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
ing
"
expect
(
page
).
to
have_content
"Edit
Page api
"
end
end
step
'I click on Rake tasks link'
do
step
'I click on Rake tasks link'
do
...
@@ -261,7 +261,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
...
@@ -261,7 +261,7 @@ 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
ing
"
expect
(
page
).
to
have_content
"Edit
Page raketasks
"
end
end
step
'I go directory which contains README file'
do
step
'I go directory which contains README file'
do
...
...
features/steps/project/wiki.rb
View file @
5ab1b11e
...
@@ -156,7 +156,7 @@ class Spinach::Features::ProjectWiki < Spinach::FeatureSteps
...
@@ -156,7 +156,7 @@ class Spinach::Features::ProjectWiki < Spinach::FeatureSteps
end
end
step
'I should see the Editing page'
do
step
'I should see the Editing page'
do
expect
(
page
).
to
have_content
(
'Edit
ing
'
)
expect
(
page
).
to
have_content
(
'Edit
Page
'
)
end
end
step
'I view the page history of a Wiki page that has a path'
do
step
'I view the page history of a Wiki page that has a path'
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