Try puffing-billy, a new library for stubbing and mocking requests in rspec+capybara request specs. It's like webmock, but it works on requests made by your browser.
proxy.stub("https://graph.facebook.com:443/me").and_return(:code => 500)
page.should have_content "We're sorry, facebook is unavailable. Please try again later"