Sha256: 157ca3c450639368baf65ce9d8cb4cb20034f0c26d43475a01b914172795a92d
Contents?: true
Size: 444 Bytes
Versions: 8
Compression:
Stored size: 444 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Sprite::ImageReader do before(:all) do @image_paths = { :good => "#{Sprite.root}/resources/images/topics/good-topic.gif", :mid => "#{Sprite.root}/resources/images/topics/mid-topic.gif" } end context "read" do it "should get a image from disk" do Sprite::ImageReader.read(@image_paths[:good]).class.name.should == 'Magick::Image' end end end
Version data entries
8 entries across 8 versions & 1 rubygems