Every time this step
Given /blah.../
...
cart = session[:cart] ||= Cart.new
...
end
runs in a scenario, it creates a new cart as opposed to (starting from the second call) picking one up from the session. Anyone knows how to fix that?
I am on rails 2.2.2, cucumber 0.3.98, webrat 0.4.4
P.S. Possibly adding selenium into the circuit might help. But, since a preliminary attempt to get cucumber/selenuim working didn't succeed, I thought a little call for wisdom was in order before standing up against Dark Force of 'things that never just work'