Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Generate tests for 'resource' generator as well

  • Loading branch information...
commit cadaeef7299c8c7c350eae563a6aa48852eb1d06 1 parent b66d20c
mde authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  templates/Jakefile
View
2  templates/Jakefile
@@ -493,6 +493,8 @@ namespace('gen', function () {
modelTask.on('complete', function () {
jake.Task['gen:controller'].invoke(name);
jake.Task['gen:route'].invoke(name);
+ jake.Task['gen:test'].invoke(name,
+ {properties: modelProperties});
names = utils.string.getInflections(name);
// Create views folder but not actions
jake.mkdirP(path.join('app', 'views', names.filename.plural));
Please sign in to comment.
Something went wrong with that request. Please try again.