gitlab-org--gitlab-foss/spec/lib/banzai
Robert Speicher bd1b8ae9bb Merge branch 'relative-link-filter-ref' into 'master'
Do not look up commit again when it is passed to RelativeLinkFilter

## What does this MR do?

Use `context[:commit]` in RelativeLinkFilter instead of looking up commit using `context[:ref]`.

## Why was this MR needed?

Even though the commit object was already passed, unnecessary I/O is done to retrieve the commit object.

## What are the relevant issue numbers?

Fixes #20026

See merge request !5455
2016-08-09 21:45:59 +00:00
..
filter Merge branch 'relative-link-filter-ref' into 'master' 2016-08-09 21:45:59 +00:00
pipeline
reference_parser
cross_project_reference_spec.rb
filter_array_spec.rb
note_renderer_spec.rb
object_renderer_spec.rb
querying_spec.rb
redactor_spec.rb