Sha256: 030e1a74813907ef0f26bf282ac780970c0b533a3cee09d7a990128763154bc3

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

#!/usr/bin/env bash

PS4='[script/test:${LINENO}] $ '
set -euo pipefail
set -x

cd example

# Reset database:
bin/rake db:drop
dropdb example_test_data 2>/dev/null || true

# Reset files:
git checkout app/models/boop.rb
git checkout config/database.yml
git checkout db/schema.rb
git clean -xdf .

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
test_data-0.2.0 script/reset_example_app
test_data-0.1.0 script/reset_example_app
test_data-0.0.2 script/reset_example_app