From 05dabd0ded32f1c6eb736169a4d78fbf15c22f25 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 3 Aug 2020 14:24:06 +1200 Subject: [PATCH] ensure the activemedian methods are in the test db --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 93cb90e35..2caf75ac7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ script: ./script/check_static.rb else bundle exec rails db:create db:migrate; - bundle exec rails runner "ActiveMedian.create_function"; + RAILS_ENV=test bundle exec rails runner "ActiveMedian.create_function"; bundle exec rails assets:precompile; bundle exec rails search:reindex; bundle exec rspec spec;