Merge remote-tracking branch 'origin/feature/searchkick' into feature/searchkick

This commit is contained in:
Brenda Wallace committed 2019-04-19 09:06:55 +12:00
commit 909ce99ab8
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ RSpec.describe CropSearchService, type: :service do
FactoryBot.create(:crop_request, name: 'requested mushroom')
# Child record
FactoryBot.create(:crop, name: 'portabello', parent: mushroom)
FactoryBot.create(:crop, name: 'portobello', parent: mushroom)
Crop.reindex if ENV['GROWSTUFF_ELASTICSEARCH'] == 'true'
end