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

5 lines
139 B
Ruby

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