assert_select_encoded(element = nil, &block)
Instance Public methods
Extracts the content of an element, treats it as encoded HTML and runs nested assertion on it.
You typically call this method within another assertion to operate on all
currently selected elements. You can also pass an element or array of
elements.
The content of each element is un-encoded, and wrapped in the root element
encoded. It then calls the block with all un-encoded elements.
# Selects all bold tags fr