summaryrefslogtreecommitdiff
path: root/test/document_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/document_test.rb')
-rw-r--r--test/document_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/document_test.rb b/test/document_test.rb
index c8234eac..6c932a7f 100644
--- a/test/document_test.rb
+++ b/test/document_test.rb
@@ -434,7 +434,7 @@ more info...
EOS
output = render_string input
assert_xpath '//*[@id="header"]/span[@id="author"][text() = "Stuart Rackham"]', output, 1
- assert_xpath '//*[@id="header"]/span[@id="email"][contains(text(), "founder@asciidoc.org")]', output, 1
+ assert_xpath '//*[@id="header"]/span[@id="email"]/a[@href="mailto:founder@asciidoc.org"][text() = "founder@asciidoc.org"]', output, 1
assert_xpath '//*[@id="header"]/span[@id="revnumber"][text() = "version 8.6.8,"]', output, 1
assert_xpath '//*[@id="header"]/span[@id="revdate"][text() = "2012-07-12"]', output, 1
assert_xpath '//*[@id="header"]/span[@id="revremark"][text() = "See changelog."]', output, 1