Right. OK I'll have a bit more of a look at it tomorrow since there are a couple of failing tests. I wasn't sure how to deal with the Gitlab.config at all, so I just thought I'd throw it in there like this and see how it worked. I'll also see if I can get a test environment working on my PC easily so rake spec works, at least for this file.