summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-09-01 15:02:57 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-09-06 12:48:25 -0400
commit3b017a36d647f9f97f5c7df24a48139cad5085db (patch)
treee3fcc3c587999cef7ea507355f03dedecb04646a
parentfc27ca62dd3d8df86ce2e0f85668f561b0db43fe (diff)
downloadgitlab-ce-3b017a36d647f9f97f5c7df24a48139cad5085db.tar.gz
Space before closing brace
-rw-r--r--spec/lib/banzai/filter/table_of_contents_filter_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/banzai/filter/table_of_contents_filter_spec.rb b/spec/lib/banzai/filter/table_of_contents_filter_spec.rb
index e6552736368..85eddde732e 100644
--- a/spec/lib/banzai/filter/table_of_contents_filter_spec.rb
+++ b/spec/lib/banzai/filter/table_of_contents_filter_spec.rb
@@ -113,7 +113,7 @@ describe Banzai::Filter::TableOfContentsFilter do
items = doc.css('li')
# 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
expect(items[1].ancestors).to include(items[0])
@@ -126,7 +126,7 @@ describe Banzai::Filter::TableOfContentsFilter do
expect(items[3].ancestors).not_to include(items[1])
# 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
expect(items[5].ancestors).to include(items[4])