'Posting json to /json/users/me/pointer with an invalid pointer returns a 400 and error
message.'

def test_invalid_pointer(self):

    self.login(self.example_email('hamlet'))
    self.assertEqual(self.example_user('hamlet').pointer, (-1))
    result = self.client_post('/json/users/me/pointer', {'pointer': 'foo'})
    self.assert_json_error(result, "Bad    value    for    'pointer':    foo")
    self.assertEqual(self.example_user('hamlet').pointer, (-1))
