Remove test of implementation details
This commit is contained in:
parent
ed8a2696bb
commit
e486ce55d7
1 changed files with 0 additions and 4 deletions
|
|
@ -10,10 +10,6 @@ describe FormatHelper, type: :helper do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should return HTML for header markdown' do
|
it 'should return HTML for header markdown' do
|
||||||
expect(Redcarpet::Markdown).to receive(:new)
|
|
||||||
.with(Redcarpet::Render::HTML, autolink: true, space_after_headers: true, no_intra_emphasis: true, fenced_code_blocks: true, disable_indented_code_blocks: true, safe_links_only: true)
|
|
||||||
.and_call_original
|
|
||||||
|
|
||||||
expect(markdown('# this is my header')).to eq "<h1>this is my header</h1>\n"
|
expect(markdown('# this is my header')).to eq "<h1>this is my header</h1>\n"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue