[HooksController] Fix spec to use last_published_by.