updated test so elasticsearch index is deleted before every test

This commit is contained in:
Shiho Takagi
2015-01-18 00:24:51 +11:00
parent 2a184bcb2e
commit cd57c9cd34

View File

@@ -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