Fix spec code style