diff options
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/banzai/filter/gollum_tags_filter_spec.rb | 4 | ||||
-rw-r--r-- | spec/lib/banzai/pipeline/wiki_pipeline_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/banzai/filter/gollum_tags_filter_spec.rb b/spec/lib/banzai/filter/gollum_tags_filter_spec.rb index 8c71889caf0..5e23c5c319a 100644 --- a/spec/lib/banzai/filter/gollum_tags_filter_spec.rb +++ b/spec/lib/banzai/filter/gollum_tags_filter_spec.rb @@ -95,10 +95,10 @@ describe Banzai::Filter::GollumTagsFilter, lib: true do end it 'handles an empty ToC result' do - input = output = "<p>[[<em>TOC</em>]]</p>" + input = "<p>[[<em>TOC</em>]]</p>" doc = described_class.call(input, project_wiki: project_wiki) - expect(doc.to_html).to eq output + expect(doc.to_html).to eq '' end end end diff --git a/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb b/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb index f42c11cedd4..3e25406e498 100644 --- a/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb +++ b/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb @@ -46,7 +46,7 @@ describe Banzai::Pipeline::WikiPipeline do aggregate_failures do expect(output).not_to include('<ul>') - expect(output).to include('[[<em>TOC</em>]]') + expect(output).not_to include('[[<em>TOC</em>]]') end end end |