spec for issues_controller hook