Skip to content

Fix tests on rails 4.2 #137

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

Merged
merged 1 commit into from
Dec 29, 2014
Merged

Conversation

vipulnsward
Copy link
Contributor

From http://edgeguides.rubyonrails.org/4_2_release_notes.html#action-pack

When calling the process helpers in an integration test the path needs to have a leading slash.
Previously you could omit it but that was a byproduct of the implementation and
not an intentional feature.

  • Fixed all get requests to have a forward slash to fix failing tests on rails 4.2

…pack

> When calling the process helpers in an integration test the path needs to have a leading slash.
> Previously you could omit it but that was a byproduct of the implementation and
> not an intentional feature.

- Fixed all get requests to have a forward slash to fix failing tests on rails 4.2
@vipulnsward
Copy link
Contributor Author

cc @zpao

@rmosolgo
Copy link
Member

Nice! Weird that the tests still failed with:

 Errno::EADDRINUSE: Address already in use - bind(2) for 127.0.0.1:46613

something messed up about capybara? Maybe it would just work a second time since https://github.com/rmosolgo/react-rails/commit/98aa77d1205e3d486f9a1627debf5d79cf39f54a passed.

@garbles
Copy link
Contributor

garbles commented Dec 28, 2014

@rmosolgo @vipulnsward specs failing for me too here #118

Thanks for this

@zpao
Copy link
Member

zpao commented Dec 29, 2014

👍 Thanks!

zpao added a commit that referenced this pull request Dec 29, 2014
@zpao zpao merged commit 6be8f9d into reactjs:master Dec 29, 2014
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.

4 participants