#276 Testing Time & Web Requests


Jul 25 2011 8 mins  
It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and FakeWeb gems.