We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35fe01b commit 1c329a4Copy full SHA for 1c329a4
spec/prawn/svg/elements/gradient_spec.rb
@@ -25,7 +25,7 @@
25
end
26
27
it 'returns correct gradient arguments for an element with no bounding box' do
28
- arguments = element.gradient_arguments(double(bounding_box: nil))
+ arguments = element.gradient_arguments(double(bounding_box: nil, stroke_width: 0))
29
expect(arguments).to eq(
30
from: [0.0, 0.0],
31
to: [0.2, 1.0],
0 commit comments