Skip to content

Commit 6e73cfa

Browse files
committed
Refile test database setup
1 parent 9b86baf commit 6e73cfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/codespaces/postCreateCommand.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ until docker exec postgres pg_isready -U postgres; do sleep 1; done
99
# Setup & Create .env
1010
./bin/setup
1111

12-
RAILS_ENV=test bundle exec rake db:setup dev:prime
12+
# Create test database and run seeds
13+
RAILS_ENV=test ./bin/rails dev:prime
1314

1415
docker stop postgres

0 commit comments

Comments
 (0)