'Ensure that posts are being sorted properly by date/time.'

def test_posts_sort(self):

    now = datetime.now()
    yesterday = (now - timedelta(days=1))
    t = ThreadFactory(posts__created=yesterday)
    p = PostFactory(thread=t, created=now)
    eq_(p.id, PostsFeed().items(t)[0].id)
