summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-09 16:40:23 -0600
committermo khan <mo.khan@gmail.com>2020-03-09 16:40:23 -0600
commit892b8483b1272c7f43d7914327082cfed068f729 (patch)
tree1fa5552fbce0d1f2efd6c8ab1ff22b5a312f4303 /bin
parenta8bd54134a0ba8f229385a138f75b984d352c600 (diff)
Allow test script to run specs for a single file
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/test b/bin/test
index 8ebfafa..03046af 100755
--- a/bin/test
+++ b/bin/test
@@ -6,8 +6,8 @@ cd "$(dirname "$0")/.."
[ -z "$DEBUG" ] || set -x
-echo [$(date "+%H:%M:%S")] "==> Running setup…"
+echo ["$(date "+%H:%M:%S")"] "==> Running setup…"
bin/setup
-echo [$(date "+%H:%M:%S")] "==> Running tests…"
-bundle exec rake spec
+echo ["$(date "+%H:%M:%S")"] "==> Running tests…"
+bundle exec rspec "$@"