gitlab-org--gitlab-foss/spec/lib/banzai/reference_parser
Jan Provaznik 7f4452d406 Preload project features in reference parser
Preloading of project_features mitigates N+1 queries when checking
references in other projects.

When loading projects for resources referenced in comments it
makes sense to include also associated project_features because
in the following step (`can_read_reference?(user, projects[node],
node)`) project features is used for checking permissions for the given
project.
2018-09-30 20:03:43 +02:00
..
base_parser_spec.rb
commit_parser_spec.rb
commit_range_parser_spec.rb
external_issue_parser_spec.rb
issue_parser_spec.rb
label_parser_spec.rb
merge_request_parser_spec.rb
milestone_parser_spec.rb
project_parser_spec.rb
snippet_parser_spec.rb
user_parser_spec.rb