easyappointments/rsc/scripts/jsdoc/test/specs/jsdoc
2013-07-02 17:20:39 +00:00
..
opts Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
src Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
tag Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
tutorial Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
util Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
augment.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
borrow.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
config.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
doclet.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
name.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
path.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
plugins.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
readme.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
tag.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00:00
tutorial.js Changed the name of the data folder to rsc (resources) 2013-07-02 17:20:39 +00: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>');
    });

});