Permalink
Browse files

Add alias for running single test

  • Loading branch information...
1 parent dcb62d3 commit 504f49faa908e768db76925cf861448d8f43c9ae @BrentWheeldon committed Mar 5, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 bash_profile
View
5 bash_profile
@@ -3,6 +3,10 @@ parse_git_branch() {
}
export -f parse_git_branch
+run_test() {
+ rake test:single TEST=$1
+}
+
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
@@ -22,6 +26,7 @@ alias ht="cd ~/workspace/hightower"
alias ll="ls -al"
alias gitprune="git remote prune origin && git prune"
alias reload=". ~/.bash_profile"
+alias t=run_test
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

0 comments on commit 504f49f

Please sign in to comment.