Fix syntax error in specs