spec with ruby syntax