We are currently developping two rails apps that communicates via an API (made with Grape). This morning I worked on the 'server' app, and the changes I made results in an error 5OO on the staging of the 'client' app.
To adress that, I want to create a Jenkins job that check the synchronization between the two apps. The process could be this one:
- A push is detected on the app A (or B)
- Build both apps
- Run an integration test through both apps
- Deploy both apps
I'm looking for the best way to do that. I found that question and this one, but there wasn't that much information in the answers.
One of the main problems is the integration test itself: how can I test through two apps with capybara ?