spec/grid_spec.rb in prawn-1.0.0.rc1 vs spec/grid_spec.rb in prawn-1.0.0.rc2
- old
+ new
@@ -60,11 +60,11 @@
it "should draw outlines without changing global default colors to grid color" do
@pdf.grid.show_all('cccccc')
colors = PDF::Inspector::Graphics::Color.analyze(@pdf.render)
- colors.fill_color.should.not == [0.8,0.8,0.8]
- colors.stroke_color.should.not == [0.8,0.8,0.8]
+ colors.fill_color.should_not == [0.8,0.8,0.8]
+ colors.stroke_color.should_not == [0.8,0.8,0.8]
# Hardcoded default color as I haven't been able to come up with a stable converter
# between fill_color without lots code.
#colors.fill_color.should == [0.0,0.0,0.0]
colors.stroke_color.should == [0.0,0.0,0.0]