'Changing the case of some letters in the title should work.'

def test_change_title_case(self):

    data = new_document_data()
    new_title = 'TeST    DoCuMent'
    data.update(title=new_title)
    data.update(form='doc')
    response = post(self.client, 'wiki.edit_document', data, args=[self.d.slug])
    eq_(200, response.status_code)
    doc = Document.objects.get(pk=self.d.pk)
    eq_(new_title, doc.title)
