[cocos2d] Fix stray spec

Fixes #11080
Introduced by #11049