set -e
ROOT_DIR=“$( cd ”$( dirname “${BASH_SOURCE}” )/..“ && pwd )” SCRIPT_DIR=“${ROOT_DIR}/script” source $SCRIPT_DIR/functions.sh
function run_specs_one_by_one {
echo "Running each spec file, one-by-one..." for file in `find spec -iname '*_spec.rb'`; do echo "Running $file" $ROOT_DIR/bin/rspec $file -b --format progress done
}
run_specs_one_by_one