mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 17:54:59 -04:00
updated test so elasticsearch index is deleted before every test
This commit is contained in:
@@ -14,6 +14,7 @@ RSpec.configure do |config|
|
||||
|
||||
config.before(:each) do
|
||||
DatabaseCleaner.start
|
||||
Crop.__elasticsearch__.create_index! force: true
|
||||
end
|
||||
|
||||
config.after(:each) do
|
||||
|
||||
Reference in New Issue
Block a user