Reuse shared example in ES filters spec
What does this MR do and why?
Reuse shared example in ES filters spec
Replace repetitive test code with 'adds filter to query_hash' shared example in simple filter test cases
References
How to set up and validate locally
Run test: `bundle exec rspec ee/spec/lib/search/elastic/filters_spec.rb`
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.