diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-06-21 10:52:11 -0700 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-07-14 10:08:15 -0700 |
commit | 001b1ff312df04e014a82fdb831a77cfaf66fd62 (patch) | |
tree | 2dcdaf4220745c6e2eaae31e2f72238f5f335cf7 /spec/helpers | |
parent | 362d7fde084d0e9eeeeea0c78c2f455c6e86a35b (diff) | |
download | gitlab-ce-001b1ff312df04e014a82fdb831a77cfaf66fd62.tar.gz |
rm spec for a deleted method
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/blob_helper_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/helpers/blob_helper_spec.rb b/spec/helpers/blob_helper_spec.rb index 6d1c02db297..b6e18c6a753 100644 --- a/spec/helpers/blob_helper_spec.rb +++ b/spec/helpers/blob_helper_spec.rb @@ -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 } |