Commit 3b017a36 authored by Robert Speicher's avatar Robert Speicher

Space before closing brace

parent fc27ca62
...@@ -113,7 +113,7 @@ describe Banzai::Filter::TableOfContentsFilter do ...@@ -113,7 +113,7 @@ describe Banzai::Filter::TableOfContentsFilter do
items = doc.css('li') items = doc.css('li')
# Header 1 # Header 1
expect(items[0].ancestors).to satisfy_none { |node| node.name == 'li'} expect(items[0].ancestors).to satisfy_none { |node| node.name == 'li' }
# Header 1-1 # Header 1-1
expect(items[1].ancestors).to include(items[0]) expect(items[1].ancestors).to include(items[0])
...@@ -126,7 +126,7 @@ describe Banzai::Filter::TableOfContentsFilter do ...@@ -126,7 +126,7 @@ describe Banzai::Filter::TableOfContentsFilter do
expect(items[3].ancestors).not_to include(items[1]) expect(items[3].ancestors).not_to include(items[1])
# Header 2 # Header 2
expect(items[4].ancestors).to satisfy_none { |node| node.name == 'li'} expect(items[4].ancestors).to satisfy_none { |node| node.name == 'li' }
# Header 2-1 # Header 2-1
expect(items[5].ancestors).to include(items[4]) expect(items[5].ancestors).to include(items[4])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment