libs/mocha/should.js
function(name, desc){
        this.assert(
            this.obj.hasOwnProperty(name)
            , function(){ return 'expected ' + this.inspect + ' to have own property ' + i(name) + (desc ? " | " + desc : "") }
            , function(){ return 'expected ' + this.inspect + ' to not have own property ' + i(name) + (desc ? " | " + desc : "") });
        this.obj = this.obj[name];
        return this;
    }
function(name, desc){
        this.assert(
            this.obj.hasOwnProperty(name)
            , function(){ return 'expected ' + this.inspect + ' to have own property ' + i(name) + (desc ? " | " + desc : "") }
            , function(){ return 'expected ' + this.inspect + ' to not have own property ' + i(name) + (desc ? " | " + desc : "") });
        this.obj = this.obj[name];
        return this;
    }
function ( name , desc ) { this . assert ( this . obj . hasOwnProperty ( name ) , function ( ) { return 'expected ' + this . inspect + ' to have own property ' + i ( name ) + ( desc ? " | " + desc : "" ) } , function ( ) { return 'expected ' + this . inspect + ' to not have own property ' + i ( name ) + ( desc ? " | " + desc : "" ) } ) ; this . obj = this . obj [ name ] ; return this ; }
Assert own property _name_ exists.

@param {String} name
@param {String} description
@api public
Assert own property _name_ exists .