Skip to content

Follow-up from "Add CI catalog resource VersionsFinder and update Version model"

The following discussion from !135669 (merged) should be addressed:

  • @avielle started a discussion: (+1 comment)

    We can move the specs in this describe up to the top level, since fetching all versions is the "default" (no latest param) behavior

    context 'context 'when given the latest param' do This describes the scenario more explicitly

    it 'returns the latest version for each authorized catalog resource' do We can remove the two contexts below - this test is sufficient for ensuring the latest param works as expected. The others below are effectively duplicates of the tests for .latest_for_catalog_resources