Commit 5005569

mokha <mokha@cisco.com>
2019-02-02 18:00:39
update test script to accept path to single test
1 parent 1082820
Changed files (1)
bin
bin/test
@@ -14,4 +14,8 @@ echo [$(date "+%H:%M:%S")] "==> Running setup…"
 bin/setup
 
 echo [$(date "+%H:%M:%S")] "==> Running tests…"
-bundle exec rake spec
+if [[ $# -eq 0 ]]; then
+  bundle exec rake spec
+else
+  bundle exec rspec "$1"
+fi