spec/running_pixel_spec.rb in zpng-0.1.2 vs spec/running_pixel_spec.rb in zpng-0.2.0
- old
+ new
@@ -27,10 +27,10 @@
end
img[x,0] = fg
s = '#'*16
s[x] = ' '
- img.to_s.should == s
+ img.to_ascii('# ').should == s
# fname = "out-#{x}-#{bpp}-#{color}.png"
# img.save fname
# $html << "<img src='#{fname}'><br/>\n"
end