Sha256: 8c446d8fc370b90f5e6c46aa5c5f1b8ef5734a5da45cf6139fb1404eb94256ff
Contents?: true
Size: 560 Bytes
Versions: 26
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://images.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
26 entries across 26 versions & 1 rubygems