mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
8 lines
243 B
Ruby
8 lines
243 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.configure do |config|
|
|
config.before :each, elasticsearch: true do
|
|
Paper.__elasticsearch__.create_index!(force: true)
|
|
Elasticsearch::Model.client.cluster.health wait_for_status: 'yellow'
|
|
end
|
|
end
|