In a Rails application I\'m trying to test a Bootstrap modal with a jQuery TokenInput field in Rspec using Capybara with the capybara-webkit driver. The portion
capybara-webkit
Try disabling animations in test env, layouts/application.html.erb
<% if Rails.env.test? %> <%end%>