mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-31 04:31:01 -05:00
index all models in the spec helper
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user