- A running Rails API (started up using vegetable_glue)
- Active Resource for moving objects around
A particular dependent API request wasn’t making it back to the app under test nor the browser. The request was actually being proxied through the app, pretty much raw from the API and not re-run through Active Resource before being sent to the browser.
expires_in in the controller method was sending along cache information, causing the stale data to
be cached somewhere.
config/environments/cucumber.rb on the API:
module ActionController::ConditionalGet def expires_in(*args) ; end end
Punch them ducks!