stadtratmonitor/spec/support/elasticsearch.rb
2016-03-02 20:05:12 +01:00

6 lines
151 B
Ruby

RSpec.configure do |config|
config.before :each, elasticsearch: true do
Paper.__elasticsearch__.create_index!(force: true)
sleep 2
end
end