I am running BDD steps with cucumber to implement my autlogic login behavior.
Scenario: log in
Given a registered user: \"test@test.com\" with password: \"p@ssw
instead of the line
flash[:notice] = "Login successful!"
redirect_to root_url
just try rendering it instead of redirecting it.
flash[:notice] = "Login successful!"
render :action => :root_url
in doing this, it seems to remember flash[:notice]
i could not get --> redirect_to root_url, :flash => { :notice => 'not found' }, :notice => Login successful!' <-- to work at all