Sha256: dccb4feb75594e75c9dd6d52d43dd2fc6229dc4d425f5b7ad7404a5e275a0ee1
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
require File.join(File.dirname(__FILE__),'..','..','lib','RMagick') require File.join(File.dirname(__FILE__),"image_constants.rb") include Magick describe Image do before(:each) do @image = Image.read(File.join(File.dirname(__FILE__),'..','images','clown.jpg')) end it "should have the same methods as the standard RMagick" do IMAGE_METHODS.each do |method| # It fails, use test/implemented_methods instead (at least, until # we got some more methods implemented, no just 13% # @image.should respond_to? method.to_sym end end it "should return a one-item array after reading an image" do @image.should have(1).images end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rmagick4j-0.3.5 | test/spec/image_spec.rb |