stadtratmonitor/spec/support/elasticsearch.rb

7 lines
151 B
Ruby
Raw Normal View History

2016-02-17 20:46:03 +01:00
RSpec.configure do |config|
config.before :each, elasticsearch: true do
Paper.__elasticsearch__.create_index!(force: true)
2015-11-16 19:42:12 +01:00
sleep 2
2016-02-17 20:46:03 +01:00
end
end