summaryrefslogtreecommitdiff
path: root/test/sections_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/sections_test.rb')
-rw-r--r--test/sections_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sections_test.rb b/test/sections_test.rb
index 8194104f..c98e9c41 100644
--- a/test/sections_test.rb
+++ b/test/sections_test.rb
@@ -466,8 +466,10 @@ content
doc = document_from_string input
assert_empty doc.blocks[0].attributes
output = doc.convert
+ assert_css '#idname', output, 1
assert_css 'body#idname', output, 1
- assert_css '.rolename', output, 0
+ assert_css '.rolename', output, 1
+ assert_css 'body.rolename', output, 1
end
end