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
cb079c82
Commit
cb079c82
authored
May 06, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Markdown feature spec
parent
fdff815a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/features/markdown_spec.rb
spec/features/markdown_spec.rb
+2
-2
No files found.
spec/features/markdown_spec.rb
View file @
cb079c82
...
@@ -62,7 +62,7 @@ describe 'GitLab Markdown' do
...
@@ -62,7 +62,7 @@ describe 'GitLab Markdown' do
# Given a header ID, goes to that element's parent (the header), then to its
# Given a header ID, goes to that element's parent (the header), then to its
# second sibling (the body).
# second sibling (the body).
def
get_section
(
id
)
def
get_section
(
id
)
@doc
.
at_css
(
"#
#{
id
}
"
).
parent
.
next
.
nex
t
@doc
.
at_css
(
"#
#{
id
}
"
).
parent
.
next
_elemen
t
end
end
# it 'writes to a file' do
# it 'writes to a file' do
...
@@ -189,7 +189,7 @@ describe 'GitLab Markdown' do
...
@@ -189,7 +189,7 @@ describe 'GitLab Markdown' do
end
end
describe
'AutolinkFilter'
do
describe
'AutolinkFilter'
do
let
(
:list
)
{
get_section
(
'autolinkfilter'
).
parent
.
search
(
'ul'
)
}
let
(
:list
)
{
get_section
(
'autolinkfilter'
).
next_element
}
def
item
(
index
)
def
item
(
index
)
list
.
at_css
(
"li:nth-child(
#{
index
}
)"
)
list
.
at_css
(
"li:nth-child(
#{
index
}
)"
)
...
...
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