put after hook in invitations_controller_spec in right place