iflrandevu/rsc/scripts/jsdoc/test/specs/documentation/specialnames.js
2013-07-02 17:20:39 +00:00

10 lines
No EOL
446 B
JavaScript

describe("documenting symbols with special names", function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/specialnames.js'),
name = docSet.getByLongname('hasOwnProperty').filter(function($) {
return ! $.undocumented;
});
it('When a symbol has the documented name of "hasOwnProperty," JSDoc should correctly include it in the docs.', function() {
expect(name.length).toEqual(1);
});
});