Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/banzai/reference_parser/base_parser_spec.rb')
-rw-r--r--spec/lib/banzai/reference_parser/base_parser_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/reference_parser/base_parser_spec.rb b/spec/lib/banzai/reference_parser/base_parser_spec.rb
index bc7a93a7cde..b55ee01cceb 100644
--- a/spec/lib/banzai/reference_parser/base_parser_spec.rb
+++ b/spec/lib/banzai/reference_parser/base_parser_spec.rb
@@ -116,7 +116,7 @@ RSpec.describe Banzai::ReferenceParser::BaseParser, feature_category: :team_plan
links = Nokogiri::HTML.fragment("<a data-foo='1'></a><a data-foo='2'></a>").children
expect(subject).not_to receive(:references_relation)
- expect(subject.referenced_by(links, ids_only: true)).to eq(%w(1 2))
+ expect(subject.referenced_by(links, ids_only: true)).to eq(%w[1 2])
end
context 'and the html fragment does not contain any attributes' do