[rspec-users] Spec for image upload and resizing
srinu
36srinu at gmail.com
Mon Jun 15 01:25:41 EDT 2009
Hi,
I have a written spec for image upload model using paperclip plug-
in. The sample code looks like
http://gist.github.com/129954
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
folder.
But every time I run the test images are saving. Is there any way to
test my asset model?
Thanks in advance
Srinivas
More information about the rspec-users
mailing list