'Test that the source metadata field works.'

def test_source(self):

    rev = RevisionFactory()
    url = reverse('wiki.document_vote', kwargs={'document_slug': rev.document.slug})
    self.client.post(url, {'revision_id': rev.id, 'helpful': True, 'source': 'test'})
    eq_(HelpfulVoteMetadata.objects.filter(key='source').count(), 1)
