Created
October 22, 2014 13:55
-
-
Save trashhalo/da0e58a1b3bea4d8e9d0 to your computer and use it in GitHub Desktop.
ruby test_dir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test_dir { | |
for i in `find $1 -type f|grep _test.rb`; do echo "$(tput bold)> $i$(tput sgr0)" && bundle exec ruby -Itest $i; done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment