Looks like Simplecov 0.8.x, Ruby 2.1.0, and Rspec 2.14 don't quite work together as you would expect. When running bundle exec rspec in that environment (with Rails 4.0.2), the exit code when tests fail is 0, when it should be 1. However, when I run them on Ruby 2.0.0(-p353) with Simplecov 0.8.x, it correctly exits 1. Even weirder, when running them on Ruby 2.1.0 and Simplecov 0.7.1, it also correctly exits 1.
Looks like Simplecov 0.8.x, Ruby 2.1.0, and Rspec 2.14 don't quite work together as you would expect. When running
bundle exec rspecin that environment (with Rails 4.0.2), the exit code when tests fail is0, when it should be1. However, when I run them on Ruby 2.0.0(-p353) with Simplecov 0.8.x, it correctly exits1. Even weirder, when running them on Ruby 2.1.0 and Simplecov 0.7.1, it also correctly exits1.