1. 14 Mar, 2022 1 commit
    • Piotr Stankowski's avatar
      Make spec insusceptible to test branch list changes · 737b91b1
      Piotr Stankowski authored
      After adding a new branch to TestEnv::BRANCH_SHA spec
      Projects::BranchesByModeService started failing.
      It required adjusting every time branches list was changed.
      Since adjusting that array also requires one to manually remove
      directories ./tmp/tests/gitlab-test*, it have initially gone unnoticed.
      This change makes the spec calculate the expected values dynamically,
      so future changes in branch list shouldn't break this spec.
      737b91b1
  2. 07 Mar, 2022 39 commits