summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-01-10 23:37:18 -0700
committerGitHub <noreply@github.com>2019-01-10 23:37:18 -0700
commit899a8bddb48511adde9220bdc2e421cb8ce4e3b2 (patch)
tree9beea6574a714a52c0c941e6ce0a07e7b9b003d8 /test
parentc83bf6ae8524badf676047cf5d0eacc931b91a01 (diff)
resolves #2966 run docinfo processors regardless of safe mode (PR #3008)
Diffstat (limited to 'test')
-rw-r--r--test/extensions_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/extensions_test.rb b/test/extensions_test.rb
index b3189569..63fb4cd2 100644
--- a/test/extensions_test.rb
+++ b/test/extensions_test.rb
@@ -1427,7 +1427,8 @@ sample content
docinfo_processor MetaRobotsDocinfoProcessor
end
- doc = document_from_string input, safe: :server
+ doc = document_from_string input
+ assert_equal Asciidoctor::SafeMode::SECURE, doc.safe
assert_equal '<meta name="robots" content="index,follow">', doc.docinfo
ensure
Asciidoctor::Extensions.unregister_all