RSpec fails to return a proper error code when a capybara test fails by dblock · Pull Request #410 · rspec/rspec-core
This is a workaround for teamcapybara/capybara#178. Capybara has an at_exit call that messes up the status code returned from the process. This workaround ensures that at_exit from rspec is run las...
GitHub