summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-10-26 02:55:30 -0600
committerDan Allen <dan.j.allen@gmail.com>2020-10-26 02:55:30 -0600
commit47fd4fa6ec6cbb43040ed758399d37747faa69b4 (patch)
tree6f317bffe0bf5bb2c145cf02ba2eda40e8786c1f
parent62ade4c0ec492a1ad22ad5b6a58eb75607bc9095 (diff)
add test for theme file in extends clause that starts with ./
-rw-r--r--spec/theme_loader_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/theme_loader_spec.rb b/spec/theme_loader_spec.rb
index d519e58f..8e72dbe3 100644
--- a/spec/theme_loader_spec.rb
+++ b/spec/theme_loader_spec.rb
@@ -361,7 +361,7 @@ describe Asciidoctor::PDF::ThemeLoader do
with_pdf_theme_file <<~EOS do |theme_path|
extends:
- #{File.basename custom_theme_path}
- - #{File.basename red_theme_path}
+ - ./#{File.basename red_theme_path}
base:
align: justify
EOS