hey all, I'm using basic Test::Unit and Mocha for unit testing. I have a module utility method that both classes in the module use and I'm trying to stub it for testing purposes and not having any luck. Does anyone have any experience with this?
zenspider: sorry for the lag here???this is as a result of refactoring. There was essentially a duplicative function in the previous two classes that was pulled out into the module
no, because the refactored method is an http request handler so it goes out into httpclient and bombs
I could put in valid auth data and uris and start up a local server and it would work