spec/prawn/svg/element_spec.rb in prawn-svg-0.12.0.12 vs spec/prawn/svg/element_spec.rb in prawn-svg-0.15.0.0

- old
+ new

@@ -1,10 +1,9 @@ require File.dirname(__FILE__) + '/../../spec_helper' describe Prawn::Svg::Element do before :each do - e = mock - e.stub!(:attributes).and_return({}) + e = double(:attributes => {}) @document = Struct.new(:fallback_font_name, :css_parser, :warnings).new("Courier", nil, []) @element = Prawn::Svg::Element.new(@document, e, [], {}) end