Is there a webmock or vcr equivalent for client-side code? ... Or can you use webmock with client code already?
You can use sinon FakeXMLHttpRequest or nock .
Rewrite web proxies to test the interaction between your browser and external sites. Works with ruby + rspec