Rubocop autocorrect specs

This commit is contained in:
Lars Henrik Mai 2020-03-09 11:27:52 +01:00
parent 247f4b85b7
commit 5c2e1bfe1e
13 changed files with 279 additions and 269 deletions

View file

@ -1,6 +1,8 @@
# 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"
Elasticsearch::Model.client.cluster.health wait_for_status: 'yellow'
end
end