var testResource = require('../../../test_resource'),
    markdown2html = require('../../../../lib/html/markdown2html');

exports['Convert a markdown file to html.'] = function (test) {
    var src = testResource.resolveMockFile('mock-markdown.md'),
        dest = testResource.resolveWorkFile('work-markdown.html');
    markdown2html(src, dest, function (err) {
        test.ifError(err);
        test.done();
    });
};