mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-21 14:34:22 -04:00
updated test so elasticsearch index is deleted before every test
This commit is contained in:
1 parent
2a184bcb2e
commit
cd57c9cd34
1 file changed
+1
@@ -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