summaryrefslogtreecommitdiff
path: root/spec/list_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-07-18 23:48:23 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-07-19 02:18:33 -0600
commited0a6c55b616e74d098596a925e0dc19f2471a3d (patch)
treea24d548e7a2549ad48d192c82c1a880a0c994a9e /spec/list_spec.rb
parent086d6cd39a740fe8d3bba67ca4b95a94978cecc2 (diff)
remove use of build_pdf_theme except where needed
Diffstat (limited to 'spec/list_spec.rb')
-rw-r--r--spec/list_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/list_spec.rb b/spec/list_spec.rb
index c77421b8..16da00ef 100644
--- a/spec/list_spec.rb
+++ b/spec/list_spec.rb
@@ -486,8 +486,10 @@ describe 'Asciidoctor::PDF::Converter - List' do
end
it 'should use glyph from fallback font if not present in main font', visual: true do
- pdf_theme = build_pdf_theme({ ulist_marker_checked_content: ?\u303c }, 'default-with-font-fallbacks')
-
+ pdf_theme = {
+ extends: 'default-with-font-fallbacks',
+ ulist_marker_checked_content: ?\u303c,
+ }
to_file = to_pdf_file <<~'EOS', 'list-checked-glyph-fallback.pdf', pdf_theme: pdf_theme
* [x] done
EOS