Michael Corr wrote in post #970988:
> Hi
> I'm using Mocha to mock a HTTP connection, so I can test higher level
> application code without requiring a 'live' webserver host. However, I'm
> having difficulty trying to stub some of the
> connection handle parameters.
>

This doesn't really have anything to do with Rails, so it should have 
been asked on the main Ruby list...but why not use WebMock?  It already 
does exactly what you're trying to do.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org

Sent from my iPhone

-- 
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 rubyonrails-t...@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.

Reply via email to