summaryrefslogtreecommitdiff
path: root/spec/section_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-10-27 03:21:51 -0600
committerGitHub <noreply@github.com>2022-10-27 03:21:51 -0600
commit18345df420311b9a8d00c30a3d3aede21e189d3e (patch)
tree8571de0fbfb72cb9a2bab11a91a9a90d72ea2fe9 /spec/section_spec.rb
parent6e7340348914f622607c9bf829c18f91e3313dca (diff)
resolves #2363 replace use of AbstractBlock#role= method to ensure compatbility with Asciidoctor 2.0.10 (PR #2364)
Diffstat (limited to 'spec/section_spec.rb')
-rw-r--r--spec/section_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/section_spec.rb b/spec/section_spec.rb
index 1cb192b4..6df058f8 100644
--- a/spec/section_spec.rb
+++ b/spec/section_spec.rb
@@ -1087,7 +1087,7 @@ describe 'Asciidoctor::PDF::Converter - Section' do
pdf = to_pdf input, analyze: true
(expect pdf.find_unique_text 'Preface', page_number: 2).not_to be_nil
(expect pdf.find_unique_text 'Preface', page_number: 3).to be_nil
- # NOTE: lead role on first paragraph is retained
+ # NOTE: test that lead role on first paragraph is retained
(expect (pdf.find_unique_text 'anonymous preface', page_number: 3)[:font_size]).to eql 13
end