Fix rubocop warning 'TrailingComma' in attr_init_class_code_spec.rb