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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.