hobo
hobo copied to clipboard
Problems with capybara sessions.
Hi,
I found a problem when using hobo with capybara. in dev_controller.rb. When redirecting to "" (home_page has this value by default) capybara 'forgets' the session. Do you know if redirect to "" is really allowed? Maybe the home_page should have a real value instead of "". Think this would solve the problem also.
Capybara does not remember session when redirecting to "". Use "/" instead.
In many environments, redirecting to "/" is wrong -- the application is deployed in a sub-path. It's certainly possible that your patch won't break those apps, but I'd like to be sure before applying your patch.