Sha256: 06efac8196f0bb76d5b40d019bfda7c07d34b6e001e11e04cebe99efe5cfc0bc

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

#!/bin/sh

# script/test: Run test suite for application. Optionally pass in a path to an
#              individual test file to run a single test.


set -e

cd "$(dirname "$0")/.."

[ -z "$DEBUG" ] || set -x

echo "==> Running tests…"

if [ -n "$1" ]; then
  # pass arguments to test call. This is useful for calling a single test.
  bundle exec rspec "$1"
else
  bundle exec rspec
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glyptodont-0.1.0 script/test