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
001b1ff3
Commit
001b1ff3
authored
Jun 21, 2016
by
http://jneen.net/
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm spec for a deleted method
parent
362d7fde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
blob_helper_spec.rb
spec/helpers/blob_helper_spec.rb
+0
-14
No files found.
spec/helpers/blob_helper_spec.rb
View file @
001b1ff3
...
...
@@ -54,20 +54,6 @@ describe BlobHelper do
end
end
describe
"#highlighter"
do
it
'should highlight continued blocks'
do
# Both lines have LC1 as ID since formatter doesn't support continue at the moment
expected
=
[
'<span id="LC1" class="line"><span class="p">(</span><span class="nb">make-pathname</span> <span class="ss">:defaults</span> <span class="nv">name</span></span>'
,
'<span id="LC1" class="line"><span class="ss">:type</span> <span class="s">"assem"</span><span class="p">))</span></span>'
]
highlighter
=
helper
.
highlighter
(
blob_name
,
blob_content
,
nowrap:
true
)
result
=
split_content
.
map
{
|
content
|
highlighter
.
highlight
(
content
)
}
expect
(
result
).
to
eq
(
expected
)
end
end
describe
"#sanitize_svg"
do
let
(
:input_svg_path
)
{
File
.
join
(
Rails
.
root
,
'spec'
,
'fixtures'
,
'unsanitized.svg'
)
}
let
(
:data
)
{
open
(
input_svg_path
).
read
}
...
...
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