Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with capybara sessions. #31

Open
wants to merge 1 commit into
base: rails3
Choose a base branch
from

Conversation

fpellanda
Copy link

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.

@bryanlarsen
Copy link
Collaborator

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.

gabriprat pushed a commit to gabriprat/hobo that referenced this pull request Mar 20, 2016
Fix Stringify error with Chrome and Push State requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants