         generator('modelTest', name)
       )
 
+    collectionTest: (name) ->
+      [sysPath.join(config.paths.test, 'models', "#{helpers.pluralize name}_test")]
+
+    collection: (name) ->
+      [sysPath.join(config.paths.app, 'models', "#{helpers.pluralize name}")].concat(
+        generator('collectionTest', name)
+      )
+
     template: (name) ->
       [sysPath.join(config.paths.app, 'views', 'templates', "#{name}")]
 


    scaffold: (name) ->
      generator('controller', name).concat(
        generator('model', name), generator('view', name)
      )

getGenerator = (config, plugins) ->


    scaffold: (name) ->
      generator('model', name).concat(
        generator('collection', name),
        generator('view', name)
      )

