sandal/prawn — Issue #302: Unexpected column width
Author: giuseb
Created: 2011-12-01 07:07:57+00:00
State: open

I cannot figure out why I am getting the column widths I am getting.
Say I create a 500-wide column_box with 3 columns and 25-wide spacers.
Should I not get 150-wide columns?
The spec below fails: <150> expected, but was <141>

```ruby
describe "Column boxes" do
before(:each) { create_pdf }

it "should create columns whose combined width equals the total width minus the spacers" do
@pdf.column_box([0, @pdf.cursor], :width => 500, :height => 200, :columns => 3, :spacer => 25) do
@pdf.bounds.width.should == 150
end
end
end
```