'Return latest revision when no current exists.'

def test_latest(self):

    r1 = revision(is_approved=False, save=True, created=(datetime.now() - timedelta(days=1)))
    r2 = revision(is_approved=False, save=True, document=r1.document)
    eq_(r2, r1.document.current_or_latest_revision())
