On 27 Nov 2009, at 14:18, Abhishek shukla wrote:

>  First time I am writing a scenario for uploading images. But some  
> how things are not working as it should be
>
> The cucumber scenario is
> And I attach the file at "/home/user/Desktop/sdasd.png" to "avatar"
>     And I press "Upload Logo"
>
> But I trace it. its showing up
>
> avatar_file_name: "sdasd.png", avatar_content_type: "text/plain", in  
> Database where content type is png :( ....
>
> Is there any thing which I need to do or is there any thing m  
> missing..

http://thefrontiergroup.com.au/blog/2009/06/testing-file-uploads-with-webrat-and-paperclip/


Best regards

Peter De Berdt

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to