mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Configure rspec for elasticsearch
This commit is contained in:
parent
d790e97535
commit
9d1ab75015
2 changed files with 6 additions and 1 deletions
5
spec/support/elasticsearch.rb
Normal file
5
spec/support/elasticsearch.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
RSpec.configure do |config|
|
||||
config.before :each, elasticsearch: true do
|
||||
Paper.__elasticsearch__.create_index!(force: true)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue