Fix rubocop warning 'TrailingComma' in table_to_array_spec