Automatically Wait for AJAX with Capybara

How to use Capybara's `wait_for_ajax` helper.