Sha256: b0ffac6e71ad68a75e5fd8057664dc9939b1ff418df9f309aadd6257a9422fc6
Contents?: true
Size: 560 Bytes
Versions: 17
Compression:
Stored size: 560 Bytes
Contents
require 'spec_helper' describe Dugway::Drops::ImageDrop do let(:image) { Dugway::Drops::ImageDrop.new(Dugway.store.products.first['images'].first) } describe "#url" do it "should return the image's url" do image.url.should == 'http://cache1.bigcartel.com/product_images/92599166/mens_tee_1.jpg' end end describe "#width" do it "should return the image's width" do image.width.should == 475 end end describe "#height" do it "should return the image's height" do image.height.should == 500 end end end
Version data entries
17 entries across 17 versions & 1 rubygems