Skip to content

Commit

Permalink
refactor(tests): Changed test model name field to required
Browse files Browse the repository at this point in the history
  • Loading branch information
pilsy committed Jul 28, 2014
1 parent 465d1bc commit cb4a07e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/test-module/models/TestModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ module.exports = function ( Model ) {
primaryKey: true,
autoIncrement: true
},
name: String
name: {
type: String,
required: true
}
});
};

0 comments on commit cb4a07e

Please sign in to comment.