Add RuboCop RSpec language config for custom examples
This allows the RuboCop RSpec gem to treat these the same as it
,
its
, etc. Previously they were inherited from the gitlab-styles gem,
but they belong here as they only make sense in this application.
This works with a local copy of the gitlab-styles gem with this config removed from there (gitlab-org/ruby/gems/gitlab-styles!130 (merged)) and everything still works. We do get some other offences because we haven't upgraded gitlab-styles recently:
$ bundle exec rubocop --parallel --format offenses
1112 RSpec/ExpectChange
21 Security/IoMethods
4 Gitlab/ServiceResponse
1 Layout/LineLength
1 RSpec/FactoryBot/CreateList
--
1139 Total