Fix Capybara specs in case then using phantomjs