Fix rubocop warning 'TrailingComma' in map_attr_spec.rb