'Document history should have a noindex meta tag.'

def test_history_noindex(self):

    r = ApprovedRevisionFactory(content='Some    text.')
    response = get(self.client, 'wiki.document_revisions', args=[r.document.slug])
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_('noindex,    nofollow', doc('meta[name=robots]')[0].attrib['content'])
