'Ensure that the share link isn\'t escaped.'

def test_document_share_link_escape(self):

    r = ApprovedRevisionFactory(content='Test', document__share_link='https://www.example.org')
    response = self.client.get(self.get_minimal_url(r.document))
    doc = pq(response.content)
    eq_(doc('#wiki-doc    .share-link    a').attr('href'), 'https://www.example.org')
