setup ES test environment during bin/setup (#6891)

This commit is contained in:
Molly Struve 2020-03-26 13:07:06 -05:00 committed by GitHub
parent fd75f70c06
commit 8fb1acd903
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,7 @@ FileUtils.chdir APP_ROOT do
puts "\n== Preparing Elasticsearch =="
system! 'bin/rails search:setup'
system! 'RAILS_ENV="test" bin/rails search:setup'
puts "\n== Updating Data =="
system! 'bin/rails data_updates:run'