Fix rubocop warning 'TrailingComma' in codes_spec