Skip to content

Instantly share code, notes, and snippets.

@joncalhoun
Created November 20, 2015 22:05
Show Gist options
  • Select an option

  • Save joncalhoun/e408e2b62e6b003a5bc7 to your computer and use it in GitHub Desktop.

Select an option

Save joncalhoun/e408e2b62e6b003a5bc7 to your computer and use it in GitHub Desktop.

Revisions

  1. joncalhoun created this gist Nov 20, 2015.
    8 changes: 8 additions & 0 deletions tests.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    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