diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-04-03 23:59:21 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-04-03 23:59:21 -0600 |
| commit | d935299d6886f56199cfb16f4f57ae4bfc2fd060 (patch) | |
| tree | a87796c88203da81cc5b7f8eb483cd0dc7c9d7a7 /spec/index_spec.rb | |
| parent | 46be3026f23c6c174c87f3bd9b77416099f2fec4 (diff) | |
fix missing index entry in test
Diffstat (limited to 'spec/index_spec.rb')
| -rw-r--r-- | spec/index_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/index_spec.rb b/spec/index_spec.rb index a17edd1a..5abfb56a 100644 --- a/spec/index_spec.rb +++ b/spec/index_spec.rb @@ -188,7 +188,7 @@ describe 'Asciidoctor::PDF::Converter - Index' do == Uninstall - .((node.uninstall) + .((node.uninstall)) [[node-uninstall]] $ nvm uninstall node @@ -200,7 +200,7 @@ describe 'Asciidoctor::PDF::Converter - Index' do index_pgnum = (pdf.find_text 'Index')[0][:page_number] index_lines = pdf.lines pdf.find_text page_number: index_pgnum - (expect index_lines).to eql ['Index', 'N', 'node.install, 1', 'node.version, 2'] + (expect index_lines).to eql ['Index', 'N', 'node.install, 1', 'node.uninstall, 3', 'node.version, 2'] end it 'should not assign number or chapter label to index section' do |
