I'm getting the following error when I run Capybara tests with js: true option:
No route matches [GET] "/fonts/fontawesome-webfont.woff"
Obviously, this error is not related to the Capybara but to the Font Awesome.
I found a solution on https://stackoverflow.com/a/14945023/513554, but after some investigation I found another workaround which may help people.
So I post a Q&A.