gitlab-org--gitlab-foss/spec/rubocop/cop/gitlab
Bob Van Landuyt f3f1df1476 Add a cop for FinderMethods
This notifies developers when calling `find(_by!)` chained on
`execute`. And suggests using the methods from `FinderMethods`. These
will perform the correct authorization checks on the resource when it
is found.
2018-06-20 18:13:13 +02:00
..
finder_with_find_by_spec.rb Add a cop for FinderMethods 2018-06-20 18:13:13 +02:00
httparty_spec.rb
module_with_instance_variables_spec.rb
predicate_memoization_spec.rb Make sure it's not offending to use local ||= val 2018-01-13 00:24:12 +08:00