Sample repo for this Stackoverflow question: https://stackoverflow.com/questions/49873562/integration-test-with-rails-capybara-with-react-component
Install with these steps:
git clone git@github.com:pioz/test-react-with-capybara.git
cd test-react-with-capybara
bundle
yarn install
rails db:migrate
rails s
- visit the page
http://localhost:3000/posts/new