Replaced Capybara::Webkit::Driver#resize_window with Capybara::Window#resize_to in tests to get rid of a deprecation warning.