Mock gravatar and stub some vis methods to fix permission specs