[rspec-users] Accidentally overriding exit code of specs

Marko Anastasov marko at renderedtext.com
Thu Nov 29 14:59:10 UTC 2012


Is it possible to write something in spec_helper.rb which would make "rake spec" start returning wrong exit code (zero) when there are failing specs? Something with config.around(:each) for example.

I'm wondering because at https://semaphoreapp.com we sometimes have support questions which boil down to - there are failing specs, but the exit code was zero.


More information about the rspec-users mailing list