Fixed Capybara 2.0 incompatibility change. have_selector replaced by has_title