From 22ba8f8fcb458136efbab7d4b5e24c2e3a2bccfc Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 4 Oct 2018 18:47:42 +0200 Subject: [PATCH] Fixed bug: Form request spec is not testing ES search (DB only). --- spec/requests/form_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/requests/form_spec.rb b/spec/requests/form_spec.rb index b5feebc2a..7c4b10204 100644 --- a/spec/requests/form_spec.rb +++ b/spec/requests/form_spec.rb @@ -3,6 +3,7 @@ require 'rails_helper' RSpec.describe 'Form', type: :request, searchindex: true do before(:each) do + configure_elasticsearch rebuild_searchindex end