spec/prawn/svg/elements/base_spec.rb in prawn-svg-0.29.1 vs spec/prawn/svg/elements/base_spec.rb in prawn-svg-0.30.0

- old
+ new

@@ -23,17 +23,17 @@ end describe "applying calls from the standard attributes" do let(:svg) do <<-SVG - <something transform="rotate(90)" fill-opacity="0.5" fill="red" stroke="blue" stroke-width="5"/> + <something transform="scale(2)" fill-opacity="0.5" fill="red" stroke="blue" stroke-width="5"/> SVG end it "appends the relevant calls" do element.process expect(element.base_calls).to eq [ - ["rotate", [-90.0, {origin: [0, 600.0]}], [ + ["transformation_matrix", [2, 0, 0, 2, 0, 0], [ ["transparent", [0.5, 1], [ ["fill_color", ["ff0000"], []], ["stroke_color", ["0000ff"], []], ["line_width", [5.0], []], ["fill_and_stroke", [], []]