From 18750063e8d7c5d140f864b39b2cd9bc84ec8e9c Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sat, 15 Aug 2020 10:15:47 +1200 Subject: [PATCH] Prepare database in travis run --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd875c966..159ea4f94 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ before_install: script: - > bundle exec rails db:create db:migrate; - RAILS_ENV=dev bundle exec rails runner "ActiveMedian.create_function"; + bundle exec rails db:prepare RAILS_ENV=test bundle exec rails runner "ActiveMedian.create_function"; bundle exec rails assets:precompile; bundle exec rails search:reindex;