Jeff Williams e7752cde18 Merge branch 'master' into parsimony
Conflicts:
	lib/jsdoc/name.js
	lib/jsdoc/src/handlers.js
	lib/jsdoc/src/parser.js
	lib/jsdoc/tag/dictionary/definitions.js
	lib/jsdoc/util/templateHelper.js
	package.json
	test/specs/documentation/alias.js
	test/specs/documentation/modules.js
	test/specs/tags/augmentstag.js
	test/specs/tags/overviewtag.js
2013-10-21 08:42:29 -07:00
..
2013-10-21 08:42:29 -07:00
2013-10-21 08:42:29 -07:00
2012-04-30 17:39:50 -07:00
2013-04-19 17:28:46 -07:00

describe("jsdoc/readme", function() {
    var jsdoc = {readme: require('jsdoc/readme') },
        html = (new jsdoc.readme('test/fixtures/markdowntest.md')).html;

    it("should parse html out of markdown", function() {
        expect(html).toBeDefined();
        expect(typeof html).toEqual("string");
        expect(html).toContain('<code>');
        expect(html).toContain('<h2>');
        expect(html).toContain('<p>');
        expect(html).toContain('<li>');
    });

});