--- title: add missing test for add_index rubocop rule merge_request: 20464 author: Eric Thomas type: other