[rspec-users] How to unit test code that connects to the external resources?

Josh Knowles joshknowles at gmail.com
Mon Sep 8 16:51:10 EDT 2008


On 9/8/08, Yi Wen <hayafirst at gmail.com> wrote:
> By external resources, I mean, the code start a http connection and GET xmls
> from the url specified.

Take a look at the video from Ruby Hoedown in which Joe O'brien and
Jim Weirich dicuss this topic:
http://rubyhoedown2008.confreaks.com/02-joe-obrien-and-jim-weirich-mock-dialogue.html

-- 
Josh Knowles
phone: 509-979-1593
email:  joshknowles at gmail.com
web:    http://joshknowles.com


More information about the rspec-users mailing list