forked from mirrors/easyappointments
10 lines
No EOL
446 B
JavaScript
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);
|
|
});
|
|
}); |