> In the controller, I obviously expect params[:media][:new_attachment]
> to be a File object

Why would you expect that?  Data that is posted (or sent in a get 
request) is a string.  You aren't going to get a ruby File object in a 
real post request, so it makes sense to me that a test wouldn't give you 
a File object.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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