I am using Capybara for rails integration tests. When it comes to AJAX requests, I am getting the following error:
Capybara::TimeoutError: failed to resynchr
If you are on rail 3
change this in your gem file.
gem 'capybara', :git => 'git://github.com/jnicklas/capybara.git', :branch =>'async_is_my_bitch'
then do bundle update.
This will solve it.