summaryrefslogtreecommitdiff
path: root/spec/image_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/image_spec.rb')
-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