title: Testing strategies for Ruby on Rails & Twitter OAuth
body: <p>I am developing an application that utilizes twitter oauth and ran into a brick wall trying to figure out how to test twitter oauth. Particularly trying to use Cucumber and Webrat/Selenium to do test the functionality -- Certain steps in the registration/logon process behave differently if the user has given oauth access to the app or not, among other things.</p>
  
  <p>Has anyone out there had any success mocking or stubbing parts or all of the Twitter OAuth system in their Ruby on Rails Cucumber features (or any other testing framework for that matter)? Any help would be appreciated.</p>