diff --git a/.travis.yml b/.travis.yml index 42e88229..3e24f134 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,5 @@ before_script: - "bundle exec rake foodsoft:setup:stock_config" - "mysql -e 'create database foodsoft_test;'" - 'printf "test:\n adapter: mysql2\n database: foodsoft_test\n username: travis\n encoding: utf8\n" >config/database.yml' + - 'bundle exec rake db:schema:load RAILS_ENV=test' script: bundle exec rake spec