How to test the response code with Capybara + Selenium How to test the response code with Capybara + Selenium selenium selenium