summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo.m.khan@shopify.com>2020-12-23 16:44:27 -0700
committermo khan <mo.m.khan@shopify.com>2020-12-23 16:44:27 -0700
commitc9e2cb2accb9a1a484b0d709fe5eb5d537486e21 (patch)
tree2ea4eac78b1f1e81977dd9affca6247e212f404b /bin
parentae339b9477eea323caaf67371c5abd92723633cd (diff)
test: start to test schema
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/test b/bin/test
index 7ebbbb9..ce0a08c 100755
--- a/bin/test
+++ b/bin/test
@@ -5,4 +5,8 @@ set -e
cd "$(dirname "$0")/.."
./bin/setup
-bundle exec ruby -Ilib:test -r test_helper test/**/*.rb
+if [ $# -eq 0 ]; then
+ bundle exec ruby -Ilib:test -r test_helper test/**/*.rb
+else
+ bundle exec ruby -Ilib:test -r test_helper "$@"
+fi