Fix rubocop warning 'TrailingComma' in attr_accessor_init_code_spec.rb