Integration Test Uploading in Rails 2.0.2 was (Re: [rspec-users] Attachment-fu + Story Runner)

On Fri, Apr 4, 2008 at 7:10 PM, Joe Van D. [email protected] wrote:

It got in as changeset 8978 and should be in edge rails.

Would it be worth it to monkeypatch that patch into rspec?

Why would we do that? It’s already in edge rails.

Because I can’t upgrade to edge rails. And I want to be able to test
file uploads.

Okay, I needed it at work, and enough folks have been asking, so I
made a very small plugin which ‘applies’ via a monkey patch, the rails
changeset of my integration upload patch to the gem version of Rails
2.0.2.

It’s available from github, and the details are at
http://talklikeaduck.denhaven2.com/articles/2008/04/18/rails-integration-test-file-upload-plugin


Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs