Fix rubocop warning 'TrailingComma' in times_code_spec