Has anyone else had any probs with assert_select silently failing to parse partials that are returned after an ajax call (with link_to_remote, for example). I have the exact same response returned for both vanilla and xhr requests except that the xhr one isn't rendered with the layout. assert_select finds all the elements in the vanilla one, but fails to find any of the elements in the partial.
Bug? Known behaviour? Something I'm doing wrong?