From: Tobias Weber Date: 2008-05-27T07:59:28+09:00 Subject: Unit testing an HTTP client Hi, my programm uses the HTTPClient gem to call a backend that was originally made for AJAX-without-the-X. Mainly it does POST without expecting any result. How do you test this? Writing a http server that logs when requests don't conform to the API is easy. But how to hook it up with the test methods in the client? I've never used threads... Or I could override the central network communication stuff to just call another method instead. -- Tobias Weber