summaryrefslogtreecommitdiff
path: root/spec/lib/banzai/filter/reference_filter_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal to spec/lib (part 1)Thong Kuah2019-07-261-0/+2
| | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-1/+1
|
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|
* Added ReferenceFilter#nodesYorick Peterse2016-06-021-0/+9
| | | | | | This method returns an Array of the HTML nodes as yielded by ReferenceFilter#each_node. The method's return value is memoized to allow multiple calls without having to re-query the input document.
* Returning enums in ReferenceFilter#each_nodeYorick Peterse2016-06-021-0/+36
This changes ReferenceFilter#each_node so that when it's called without a block an Enumerator is returned.