Skip to content

Instantly share code, notes, and snippets.

@joncalhoun
Created November 20, 2015 22:05
Show Gist options
  • Save joncalhoun/e408e2b62e6b003a5bc7 to your computer and use it in GitHub Desktop.
Save joncalhoun/e408e2b62e6b003a5bc7 to your computer and use it in GitHub Desktop.
tests=($(ls spec/features))
for i in "${tests[@]}"; do
firstChar=${i:0:1}
if [[ $firstChar < "l" ]]
# Replace this w/ test running.
then echo "bundle exec rspec spec/features/$i"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment