Sha256: 73e6d92f87eadb0bba46e3122f6ed133ae4db0f406fdf5955297caaf0c883308
Contents?: true
Size: 443 Bytes
Versions: 20
Compression:
Stored size: 443 Bytes
Contents
#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' for dbname in fresh_connection_test_master fresh_connection_test_replica1 fresh_connection_test_replica2 ; do if ! psql $dbname -c '\q' 2>/dev/null ; then if [[ -n "`psql -l | grep \"$dbname\"`" ]]; then echo "Dropping database $dbname .." dropdb $dbname fi echo "Creating database $dbname .." createdb $dbname fi done set -vx bundle exec appraisal rake test
Version data entries
20 entries across 20 versions & 1 rubygems