Skip to content

Commit

Permalink
Fuzzier width checking for the PNG rendering, to handle inconsistenci…
Browse files Browse the repository at this point in the history
…es between CI and local.
  • Loading branch information
mike-burns committed Jul 5, 2011
1 parent 3995391 commit 09b6940
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/driver_rendering_spec.rb
Expand Up @@ -44,7 +44,8 @@ def render(options)
end

it "width default to 1000px (with 15px less for the scrollbar)" do
@image[:width].should == 1000-15
@image[:width].should be < 1001
@image[:width].should be > 1000-17
end

it "height should be at least 10px" do
Expand Down

0 comments on commit 09b6940

Please sign in to comment.