• Micael Bergeron's avatar
    Refactor the `SearchResults` constructors to be aligned · 1e5cc59b
    Micael Bergeron authored
    This commit streamlines all the initializers to simplify the
    inheritance logic for:
    
    - `Gitlab::SearchResults`
        -> `…::ProjectSearchResults`
        -> `…::GroupSearchResults`
        -> `…::SnippetSearchResults`
    
    - `Gitlab::Elastic::SearchResults`
        -> `…::ProjectSearchResults`
        -> `…::GroupSearchResults`
    
    The tests were also deduplicated and streamlined.
    1e5cc59b
group_search_results.rb 1.08 KB