Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed glob example

  • Loading branch information...
commit aa4ec8f3e23e72736ea8c07785a5f72e1ae9db42 1 parent 5ea78cf
@tj tj authored
View
1  .gitignore
@@ -15,3 +15,4 @@ node_modules/
testing
.coverage_data
cover_html
+test.js
View
0  examples/blog/app.js → examples/blog/index.js
File renamed without changes
View
2  examples/blog/models/post.js
@@ -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
3  test/acceptance/blog.js
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.