Permalink
Browse files

fixed glob example

  • Loading branch information...
1 parent 5ea78cf commit aa4ec8f3e23e72736ea8c07785a5f72e1ae9db42 @tj tj committed Apr 11, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. 0 examples/blog/{app.js → index.js}
  3. +1 −1 examples/blog/models/post.js
  4. +2 −1 test/acceptance/blog.js
View
@@ -15,3 +15,4 @@ node_modules/
testing
.coverage_data
cover_html
+test.js
File renamed without changes.
@@ -21,7 +21,7 @@ Post.prototype.validate = function(fn){
if (!this.body) return fn(new Error('body required'));
if (this.body.length < 10) {
return fn(new Error(
- 'body should be at least **10** characters long, was only ' + this.title.length));
+ 'body should be at least 10 characters long, was only ' + this.title.length));
}
fn();
};
View
@@ -1,4 +1,5 @@
-var app = require('../../examples/blog/app')
+
+var app = require('../../examples/blog')
, request = require('../support/http');
var authorization = 'Basic ' + Buffer('admin:express').toString('base64');

0 comments on commit aa4ec8f

Please sign in to comment.