Skip to content

Instantly share code, notes, and snippets.

@texel
Created October 22, 2009 18:57
Show Gist options
  • Save texel/216182 to your computer and use it in GitHub Desktop.
Save texel/216182 to your computer and use it in GitHub Desktop.
function aspec {
args=""
for var in "$@"
do
args="$args spec/*/$var\_spec.rb app/*/$var.rb app/processors/$var.rb app/models/*/$var.rb spec/*/controls/$var\_spec.rb spec/models/*/$var\_spec.rb app/*/controls/$var.rb lib/$var.rb"
done
echo "Running autospec $args"
autospec $args
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment