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 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
reference_parser Method for returning issues readable by a user 2016-07-29 12:51:18 +02:00
cross_project_reference_spec.rb Move Markdown/reference logic from Gitlab::Markdown to Banzai 2015-12-15 15:51:16 +01:00
filter_array_spec.rb Add FilterArray class to Banzai 2016-03-01 15:54:35 -05:00
note_renderer_spec.rb Support for rendering/redacting multiple documents 2016-06-24 11:46:39 +02:00
object_renderer_spec.rb ObjectRenderer doesn't crash when no objects to cache with Rails.cache.read_multi 2016-07-13 11:19:21 +02:00
querying_spec.rb Optimize CSS expressions produced by Nokogiri 2015-12-31 15:46:47 +01:00
redactor_spec.rb Optimize system note visibility checking by hiding notes that 2016-07-11 15:09:21 -07:00