Skip to content
Snippets Groups Projects

Don't break tests when adding commits to the test repo

Closed username-removed-49283 requested to merge mr-vinn/gitlab_git:stable-tests into master

There are a few places in the Rspec tests where we use literals to assert the number of expected commits or the last tag information. This MR updates the tests to get the expected values from native git commands instead. This should prevent having to update assertions when new commits are added to the test repo.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Added 1 new commit:

  • @jacobvosmaer Thanks for reviewing this, I fixed the shell commands in d7464139.

  • Maintainer

    Would love to see this! It's a pain to update the test repo.

  • Added 99 commits:

  • Added 1 commit:

  • @mr-vinn gitlab_git has been absorbed into GitLab (gitlab-ce#24374, gitlab-ce!8447), so you can open a MR in GitLab CE if you still think this is needed (be sure to create an issue first!).

    Thanks.

  • Please register or sign in to reply
    Loading