mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-09-12 22:19:21 -04:00
index all models in the spec helper
This commit is contained in:
1 parent
6622aaf886
commit
99a2dfd464
1 file changed
+3
@@ -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