Fix rubocop warning 'TrailingComma' in reduce_attr_spec.rb