From 8a7aaf86831d2a556578ae558a4fcab8bb659b20 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 23 Mar 2020 21:09:46 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/lib/gitlab/asciidoc/include_processor_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/lib') diff --git a/spec/lib/gitlab/asciidoc/include_processor_spec.rb b/spec/lib/gitlab/asciidoc/include_processor_spec.rb index 72fa05939ae..2781319567c 100644 --- a/spec/lib/gitlab/asciidoc/include_processor_spec.rb +++ b/spec/lib/gitlab/asciidoc/include_processor_spec.rb @@ -35,7 +35,7 @@ describe Gitlab::Asciidoc::IncludeProcessor do expect(processor.send(:include_allowed?, 'foo.adoc', reader)).to be_truthy end - it 'allows the Nth + 1 include' do + it 'allows the Nth include' do (max_includes - 1).times { processor.send(:read_blob, ref, 'a.adoc') } expect(processor.send(:include_allowed?, 'foo.adoc', reader)).to be_truthy -- cgit v1.2.3