diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-23 21:09:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-23 21:09:46 +0000 |
commit | 8a7aaf86831d2a556578ae558a4fcab8bb659b20 (patch) | |
tree | 61c2b55aa48ff8e853e546cd3009dfc5423279c8 /spec/lib/gitlab/asciidoc | |
parent | 967812838c7e7742729a4c7aeb9859f98a509622 (diff) | |
download | gitlab-ce-8a7aaf86831d2a556578ae558a4fcab8bb659b20.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/asciidoc')
-rw-r--r-- | spec/lib/gitlab/asciidoc/include_processor_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |