diff options
| author | mo khan <mo@mokhan.ca> | 2014-10-31 12:08:17 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-10-31 12:08:17 -0600 |
| commit | ba6899ffd0dcc015d25b22bae02104aad6f8ea94 (patch) | |
| tree | 055b6aa9df186d6eea540a18eadb4945a02bbf6b /script | |
| parent | 984d9852da21908beedf47bcee5cd1237a55a01d (diff) | |
create and migrate the test db as part of the vagrant provisioner.
Diffstat (limited to 'script')
| -rw-r--r-- | script/bootstrap-vagrant-user.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
