fixed typo in spec test