diff --git a/spec/helpers/format_helper_spec.rb b/spec/helpers/format_helper_spec.rb index dc364c2c..21198ffa 100644 --- a/spec/helpers/format_helper_spec.rb +++ b/spec/helpers/format_helper_spec.rb @@ -10,10 +10,6 @@ describe FormatHelper, type: :helper do end 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 "

this is my header

\n" end end