fixed syntax error in spec