it 'throws an error if not in a room'