Skip to content

Commit 1c329a4

Browse files
committed
test: spec fix from #181
1 parent 35fe01b commit 1c329a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/prawn/svg/elements/gradient_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
end
2626

2727
it 'returns correct gradient arguments for an element with no bounding box' do
28-
arguments = element.gradient_arguments(double(bounding_box: nil))
28+
arguments = element.gradient_arguments(double(bounding_box: nil, stroke_width: 0))
2929
expect(arguments).to eq(
3030
from: [0.0, 0.0],
3131
to: [0.2, 1.0],

0 commit comments

Comments
 (0)