title: How to test webhooks / remote call backs?
body: <p>I'm using rspec and capybara to write test cases to integrate with Cheddargetter (a payment solution provider). I have no problems testing my requests to CG's API however I'm not sure how to best test when CG's API giving a web callback to the Rails app.</p>
  
  <p>This is similar to PayPal's IPN feature, where after a customer has paid a web hook callback is sent to your app.</p>
  
  <p>Just wondering if anyone know what is the best way to test / simulate this?</p>