From ba6899ffd0dcc015d25b22bae02104aad6f8ea94 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 31 Oct 2014 12:08:17 -0600 Subject: create and migrate the test db as part of the vagrant provisioner. --- script/bootstrap-vagrant-user.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'script') diff --git a/script/bootstrap-vagrant-user.sh b/script/bootstrap-vagrant-user.sh index b74d2423..3223cd38 100644 --- a/script/bootstrap-vagrant-user.sh +++ b/script/bootstrap-vagrant-user.sh @@ -21,3 +21,4 @@ if [ ! -f /vagrant/.env ]; then ln -s .env.example .env fi bundle exec rake db:create db:migrate db:seed +RAILS_ENV=test bundle exec rake db:create db:migrate db:seed -- cgit v1.2.3