Invite user, test clean up

If at all possible, you should make this error message more actionable. In this case the user won't know if it broke because their api key is incorrect, or perhaps they don't have permissions, or the room they selected doesn't exist, etc. You should use irb and intentionally cause it to fail. If possible, try to rescue specific exceptions or messages.