spec/box_calculation_spec.rb in prawn-0.1.1 vs spec/box_calculation_spec.rb in prawn-0.1.2
- old
+ new
@@ -9,9 +9,9 @@
it "should calculate a height if none is specified" do
@pdf.bounding_box([100, 500], :width => 100) do
@pdf.text "The rain in Spain falls mainly on the plains."
end
- @pdf.y.should be_close(458.384, 0.001)
+ @pdf.y.should.be.close 458.384, 0.001
end
end