“How to modify a URL with rack middleware before it hits rails routing?”
- The latest versions of webrat, selenium-client and cucumber gems all work together out of the box now. The only caveat is the latest webrat (0.4.5) hasn’t been packaged as a gem yet. Until the official one is available you can use pivotal-webrat. It’s a gem of the latest webrat.
- Test pollution between RSpec examples was observed when two sequential examples in the same describe block depended on rails flash messages. Moving each of these examples into their own respective describe block eliminated the cross test pollution. This seems to be a bug in RSpec.