Fix rubocop warning 'TrailingComma' in to_table_spec