spec/dragonfly/image_magick/plugin_spec.rb in dragonfly-1.0.3 vs spec/dragonfly/image_magick/plugin_spec.rb in dragonfly-1.0.4
- old
+ new
@@ -122,10 +122,10 @@
end
describe "identify" do
it "gives the output of the command line" do
image.identify.should =~ /280/
- image.identify("-format %h").should == "355\n"
+ image.identify("-format %h").chomp.should == "355"
end
end
end