iflrandevu/data/scripts/jsdoc/test/specs/documentation/specialnames.js
2013-05-20 17:21:58 +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);
});
});