test/unit/etsy/image_test.rb in etsy-0.3.3 vs test/unit/etsy/image_test.rb in etsy-0.3.4
- old
+ new
@@ -26,9 +26,13 @@
setup do
data = read_fixture('image/findAllListingImages.json')
@image = Image.new(data.first)
end
+ should "have a value for :id" do
+ @image.id.should == 185073072
+ end
+
should "have a value for :square" do
@image.square.should == "http://ny-image0.etsy.com/il_75x75.185073072.jpg"
end
should "have a value for :small" do
\ No newline at end of file