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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2ef6172d
Commit
2ef6172d
authored
May 25, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed spinach tests
parent
fd3750c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
features/steps/shared/markdown.rb
features/steps/shared/markdown.rb
+3
-3
No files found.
features/steps/shared/markdown.rb
View file @
2ef6172d
...
@@ -30,7 +30,7 @@ module SharedMarkdown
...
@@ -30,7 +30,7 @@ module SharedMarkdown
end
end
step
'I should see the Markdown write tab'
do
step
'I should see the Markdown write tab'
do
expect
(
fi
nd
(
'.gfm-form'
)).
to
have_css
(
'.js-md-write-button
'
,
visible:
true
)
expect
(
fi
rst
(
'.gfm-form'
)).
to
have_link
(
'Write
'
,
visible:
true
)
end
end
step
'I should see the Markdown preview'
do
step
'I should see the Markdown preview'
do
...
@@ -49,9 +49,9 @@ module SharedMarkdown
...
@@ -49,9 +49,9 @@ module SharedMarkdown
end
end
step
'I preview a description text like "Bug fixed :smile:"'
do
step
'I preview a description text like "Bug fixed :smile:"'
do
page
.
within
(
'.gfm-form'
)
do
page
.
within
(
first
(
'.gfm-form'
)
)
do
fill_in
'Description'
,
with:
'Bug fixed :smile:'
fill_in
'Description'
,
with:
'Bug fixed :smile:'
find
(
'.js-md-preview-button'
).
click
click_link
'Preview'
end
end
end
end
...
...
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