Re: [rspec-users] Problem while generating rspec model in Rails Project

2009-06-14 Thread Ninad Pol
Thanks for your reply. No, above command does not give me same error. However it creates only the model file under \app\models and asks whether to overwrite it. But my aim is to create rspec file under \spec\models with the actual model file created under \app\models remaining unchanged. So usi

[rspec-users] Spec for image upload and resizing

2009-06-14 Thread srinu
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 600x60