Skip to content

Instantly share code, notes, and snippets.

@brianjlandau
Created March 9, 2011 19:48
Show Gist options
  • Select an option

  • Save brianjlandau/862851 to your computer and use it in GitHub Desktop.

Select an option

Save brianjlandau/862851 to your computer and use it in GitHub Desktop.
# run_test functional/users_controller
run_test() {
ruby -Itest test/$1_test.rb
}
# run_fun_test users
run_fun_test(){
run_test functional/$1_controller
}
# run_unit_test user
run_unit_test(){
run_test unit/$1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment