Last Updated: February 25, 2016
· gmjorge

Run sorted test

Sometimes when you fork a project and run the test, you can see that fail a lot. This is because they are running randomly. If you want to run it with the correct order you need to execute by this way.

find spec -type f -name *_spec.rb | sort | xargs rspec