Improve testing on docker

This commit is contained in:
wvengen 2020-07-27 17:39:56 +02:00
parent b96ce06d94
commit ef1903381b
6 changed files with 16 additions and 13 deletions

View file

@ -66,7 +66,7 @@ Open a rails console
Setup the test database
docker-compose-dev run --rm foodsoft bundle exec rake db:setup RAILS_ENV=test DATABASE_URL=mysql2://root:secret@mariadb/test?encoding=utf8
docker-compose-dev run --rm foodsoft bundle exec rake db:create db:schema:load RAILS_ENV=test DATABASE_URL=mysql2://root:secret@mariadb/test?encoding=utf8
Run the tests