From 99a2dfd46498705751ebd2c399c64eb841269e28 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Tue, 24 Dec 2019 09:25:58 +1300 Subject: [PATCH] index all models in the spec helper --- spec/spec_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9b30a0829..8c30a4826 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -39,6 +39,9 @@ RSpec.configure do |config| config.before(:suite) do # reindex models Crop.reindex + Seed.reindex + Harvest.reindex + Planting.reindex # and disable callbacks Searchkick.disable_callbacks