fixes spec flicker by waiting for content (has_content?)