Added test case

This commit is contained in:
Patrick Steele-Idem 2014-11-08 10:03:04 -07:00
parent 4046444eb0
commit 3e06466035

View File

@ -271,4 +271,14 @@ describe('marko/marko-async' , function() {
}, done); }, done);
}); });
it("should allow data provider function to only have a callback parameter", function(done) {
testRender('test-project/html-templates/async-fragment-function-data-provider.marko', {
userInfo: function(done) {
done(null, {
name: 'John'
});
}
}, done);
});
}); });