Tag Archives: sham_rack

Testing External Redirects: VCR & Capybara-Mechanize

The problem:  You need to test an action in a Rails app that redirects to an external site or service.  For example, you want to do multipass-based single-sign on with Assistly. You think, “Fine.  I’m using fakeweb, I’ll just create a stub for the external API.”  This works fine in theory, until you get the […]

1 Comment