summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-08-03 23:51:52 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-08-04 01:02:08 -0600
commit4af2f98db80277f8d94e04c8552a17e0cb7982ba (patch)
tree5c965b6dcd0d89e58b36f4b7e24e8010755e1621
parentce51cdc22eb99ae8f1b97ee48baa61b0e6c59daa (diff)
fix broken test due to helper change
-rw-r--r--spec/image_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/image_spec.rb b/spec/image_spec.rb
index 8aaa837d..2386e17d 100644
--- a/spec/image_spec.rb
+++ b/spec/image_spec.rb
@@ -616,7 +616,7 @@ describe 'Asciidoctor::PDF::Converter - Image' do
it 'should compute width correctly when SVG defines width in px units', visual: true do
[true, false].each do |from_theme|
- to_file = with_content_spacer 200, 200, 'px' do |spacer_path|
+ to_file = with_content_spacer 200, 200, units: 'px' do |spacer_path|
pdf_theme = {}
pdf_theme[:image_width] = '200px' if from_theme
to_pdf_file <<~END, %(image-svg-px-width-from-#{from_theme ? 'theme' : 'file'}.svg), pdf_theme: pdf_theme