var vCard = require( '..' )
var fs = require( 'fs' )
var assert = require( 'assert' )

suite( 'vCard', function() {
  
  suite( 'Character Sets', function() {
    
    test( 'charset should not be part of value', function() {
      var data = fs.readFileSync( __dirname + '/data/xing.vcf' )
      var card = new vCard( data )
      assert.strictEqual( card.fn.indexOf( 'CHARSET' ), -1 )
    })
    
  })
  
  suite( 'Photo URL', function() {
    
    test( 'URL parameters should not become object properties', function() {
      var data = fs.readFileSync( __dirname + '/data/xing.vcf' )
      var card = new vCard( data )
      assert.equal( card.photo.txtsize, null )
    })
    
  })
  
})

var vCard = require( '..' )
var fs = require( 'fs' )
var assert = require( 'assert' )

suite( 'vCard', function() {
  
  suite( 'Character Sets', function() {
    
    test( 'charset should not be part of value', function() {
      var data = fs.readFileSync( __dirname + '/data/xing.vcf' )
      var card = new vCard( data )
      assert.strictEqual( typeof card.fn, 'object' )
      assert.strictEqual( card.fn.data.indexOf( 'CHARSET' ), -1 )
    })
    
  })
  
  suite( 'Photo URL', function() {
    
    test( 'URL parameters should not become object properties', function() {
      var data = fs.readFileSync( __dirname + '/data/xing.vcf' )
      var card = new vCard( data )
      assert.equal( card.photo.txtsize, null )
    })
    
  })
  
})

Update test: Adjust assertions to removal of cardinality checks
Update test: Adjust assertions to removal of cardinality checks
