'HTTP GET to new document URL shows preview button.'

def test_new_document_preview_button(self):

    self.client.login(username='admin', password='testpass')
    response = self.client.get(reverse('wiki.create'))
    eq_(200, response.status_code)
    doc = pq(response.content)
    ok_((len(doc('.btn-preview')) > 0))
