Don't break tests when adding commits to the test repo
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
Activity
mentioned in commit 76d8585a
Nice idea @mr-vinn. I have a few suggestions based on https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/shell_commands.md .
Added 1 new commit:
- d7464139 - Fix shell commands
@jacobvosmaer Thanks for reviewing this, I fixed the shell commands in d7464139.
Added 99 commits:
-
d7464139...de07024d - 96 commits from branch
gitlab-org:master
- 49119f4f - Merge branch 'master' into stable-tests
- a2a7448d - Fix reset tests
- a32cb224 - Fix shell commands
Toggle commit list-
d7464139...de07024d - 96 commits from branch
Added 1 commit:
- 72496236 - Fix shell commands
@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.