gitlabhq also supports the character "-" within repository names, maybe you should add this to the tests too. Currently, there is an issue with such names anyway, getting the repo name from repo_name_with_parent:

The regular expression should be adjusted to include the hyphen.