Skip to content

Commit

Permalink
fix broken test due to helper change
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Aug 4, 2023
1 parent ce51cdc commit 4af2f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/image_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@

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
Expand Down

0 comments on commit 4af2f98

Please sign in to comment.