Responsible Generators plugin

Plugin details

This replaces the Rails bundled generators with a new version that generates a helper test stub when a controller is generated and adds a helper generator that generates a new helper and a test for it.

Websitehttp://thatswhatimtalkingabout.org/news/2006/8/2/responsible-generators-plugin Repositoryhttps://secure.near-time.com/svn/plugins/trunk/responsible_generators/ Author Blake Watters Tags Test, generator LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install https://secure.near-time.com/svn/plugins/trunk/responsible_generators/
./script/generate controller foo
Creates...
  app/controllers/foo_controller.rb
  app/helpers/foo_helper.rb
  test/functional/foo_controller_test.rb
  test/helpers/foo_helper_test.rb

./script/generate helper foo
Creates...
  app/helpers/foo_helper.rb
  test/helpers/foo_helper_test.rb

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 7 months ago