[rspec-users] Spec for image upload and resizing

srinu 36srinu at gmail.com
Mon Jun 15 01:25:41 EDT 2009


    I have a written spec for image upload model using paperclip plug-
in. The sample code looks like


Testing the upload image just not validation and saving to database,
its about the input image has got cropped or not if the input image
size exceeds the 600x600px. My input test images are saved in fixtures

 But every time I run the test images are saving. Is there any way to
test my asset model?

Thanks in advance

More information about the rspec-users mailing list