Skip to content

Commit

Permalink
more template/scaffold tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Hotchkiss committed Nov 24, 2011
1 parent 150434d commit 085adac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name":"blueprint",
"description":"Blueprint for a Startup. Middleware, & MVC routing over Node.js & Mongoose",
"version":"0.4.1",
"version":"0.4.2",
"author":"Ingk Labs <admin@ingk.com>",
"maintainers":[
{ "name":"Edward Hotchkiss", "email":"e@ingk.com" },
Expand Down
12 changes: 12 additions & 0 deletions test/templates.test.js
Expand Up @@ -14,6 +14,18 @@ vows.describe("Template Tests").addBatch({
"blueprint should be a function":function(topic){
topic.should.be.a("function");
}
},
"when setting up models and controllers":{
topic:function(){
var app = blueprint.createServer();
blueprint.load("models");
blueprint.load("controllers");
// return something?
return true
},
"we should no errors":function(topic){
assert.equal(topic, true);
}
}
}).export(module);

Expand Down

0 comments on commit 085adac

Please sign in to comment.