'Test the tagged feed.'

def test_tagged_feed(self):

    t = TagFactory(name='green', slug='green')
    q = QuestionFactory()
    q.tags.add('green')
    items = TaggedQuestionsFeed().items(t)
    eq_(1, len(items))
    eq_(q.id, items[0].id)
    cache.clear()
    q = QuestionFactory()
    q.tags.add('green')
    q.updated = (datetime.now() + timedelta(days=1))
    q.save()
    items = TaggedQuestionsFeed().items(t)
    eq_(2, len(items))
    eq_(q.id, items[0].id)
