'Make sure the cached HTML updates when deleting the current rev.'

def test_delete_rendering(self):

    unapproved = RevisionFactory(is_approved=False)
    d = unapproved.document
    approved = ApprovedRevisionFactory(document=d, content='booyah')
    assert ('booyah' in d.content_parsed)
    approved.delete()
    eq_('', d.content_parsed)
    unapproved.delete()
    eq_('', d.content_parsed)
