almost rebased

This commit is contained in:
2013-01-14 18:22:57 -05:00
parent f6d1b95d0b
commit 9c33416a92
626 changed files with 101228 additions and 0 deletions

6
test/data/models/user.js Normal file
View File

@@ -0,0 +1,6 @@
var mongoose = require('mongoose');
var UserSchema = require('../schemas/user');
var User = mongoose.model('User', UserSchema);
module.exports = User;

24
test/data/users.json Normal file
View File

@@ -0,0 +1,24 @@
{
"frank": {
"username": "frank",
"name": "Frank Sinatra",
"bio": "Singer",
"password": "password"
},
"jobim": {
"username": "jobim",
"name": "Antonio Carlos Jobim",
"bio": "Composer",
"password": "password"
},
"fred": {
"username": "fred",
"name": "Fred Astaire",
"bio": "Dancer and Actor",
"password": "password"
}
}