[rspec-users] How to Spec a Web Services Client

s.ross cwdinfo at gmail.com
Sun Apr 12 15:24:51 EDT 2009


I put a pastie out at http://pastie.org/444424, which is an  
implementation (short) of an XML-RPC client. I'm getting wrapped  
around an axle trying to figure out how to spec this without actually  
hitting the remote server.

Is the best way to do this stubbing out the xml-rpc :call method to  
return known good or bad results to get the network out of the mix?  
Any thoughts are much appreciated!

Thanks.



More information about the rspec-users mailing list