Replace stubbing of `Gitlab.com?` with `:saas` annotation in specs
We have a few of them:
$ git grep :com? | grep _spec.rb | wc -l
274
Shouldn't be too much effort to replace them and/or add a cop?
The following discussion from !89865 (merged) should be addressed:
-
@sabrams started a discussion: (+2 comments) Not blocking: Just for reference, we have a metadata helper for
.com
checks that can also help in certain tricky situations.it 'schedules background jobs for each batch of container_repository', :saas do
Edited by charlie ablett