Use ScheduledReindexJob and IndexQueue in RSpec tests

Description

Some search-related specs are deleting and recreating the indices from scratch, but they can run IndexQueue and ScheduledReindexJob instead, which is faster.

Similar to for feature tests, we will do the same for spec tests.

How to test: none, automated.

Assignee

redsummernight

Reporter

redsummernight

Roadmap

Search

Priority

Low

Affects versions

Fix versions

Components

AutomatedTests

Difficulty

Medium

Milestone

Internal 0.9
Configure