var testResource = require('../../../test_resource'),
    precompileJadeString = require('../../../../lib/compile/precompile_jade_string.js');

exports.setUp = function (done) {
    done();
};

exports.tearDown = function (done) {
    done();
};


exports['Precompile jade string.'] = function (test) {
    var src = "h1 {{name}}";
    precompileJadeString(src, function (err, precompiled) {
        test.ifError(err);
        test.ok(precompiled);
        test.done();
    });
};