Skip to content

Commit

Permalink
Updated the script for better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
parthaa committed Mar 19, 2012
1 parent b6bde0b commit f6ba2fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/run_spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ fi

echo $LIST
if [ $# -eq 2 ]; then
RAILS_ENV=test bundle exec rspec $LIST -e "$2"
RAILS_ENV=test bundle exec rspec $LIST -e "$2" -c -fd
elif [ $# -eq 1 ]; then
RAILS_ENV=test bundle exec rspec $LIST
RAILS_ENV=test bundle exec rspec $LIST -c -fd
else
echo "$0 <test-file> <test-name>"
fi

0 comments on commit f6ba2fd

Please sign in to comment.