> What does that mean? Are you saying that the html element for the file > upload doesn't have a name attribute? Well, then give it one.
There is no HTML element for the file upload The request is built by a cell phone application, not a browser, it has parameter values (e.g.: the file name) but the file contents don't have a name associated to it. I don't control what the phone is sending so I can't just give it a name. > > I can run my tests running a server and outside of rspec and directing > > curl requests to localhost > > Huh? What are you trying to test specifically? What I am trying to test is the upload of the file itself from within rspec, without the use of curl. Currently I need to start a rails server as localhost and use curl to send the request to it, instead of using rspec's started server. I am yet to find a way to 'load' the file in the request that I want to send to rspec's server the same way the cell phone does. -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.