Update USAGE docs for generators.

This commit is contained in:
Rizwan Reza 2010-03-29 09:56:27 +04:30 committed by wycats
parent a0dc6755db
commit d31e03f356
6 changed files with 6 additions and 6 deletions

View File

@ -13,6 +13,6 @@ Example:
Credit card controller with URLs like /credit_card/debit.
Controller: app/controllers/credit_card_controller.rb
Functional Test: test/functional/credit_card_controller_test.rb
Functional Test: test/controllers/credit_card_controller_test.rb
Views: app/views/credit_card/debit.html.erb [...]
Helper: app/helpers/credit_card_helper.rb

View File

@ -13,5 +13,5 @@ Example:
Credit card helper.
Helper: app/helpers/credit_card_helper.rb
Test: test/unit/helpers/credit_card_helper_test.rb
Test: test/helpers/credit_card_helper_test.rb

View File

@ -11,5 +11,5 @@ Example:
creates a Notifications mailer class, views, test, and fixtures:
Mailer: app/mailers/notifications.rb
Views: app/views/notifications/signup.erb [...]
Test: test/functional/notifications_test.rb
Test: test/controllers/notifications_test.rb
Fixtures: test/fixtures/notifications/signup [...]

View File

@ -21,7 +21,7 @@ Examples:
For ActiveRecord and TestUnit it creates:
Model: app/models/account.rb
Test: test/unit/account_test.rb
Test: test/models/account_test.rb
Fixtures: test/fixtures/accounts.yml
Migration: db/migrate/XXX_add_accounts.rb

View File

@ -9,4 +9,4 @@ Example:
For ActiveRecord and TestUnit it creates:
Observer: app/models/account_observer.rb
TestUnit: test/unit/account_observer_test.rb
TestUnit: test/observers/account_observer_test.rb

View File

@ -15,6 +15,6 @@ Example:
Credit card controller with URLs like /credit_card/debit.
Controller: app/controllers/credit_cards_controller.rb
Functional Test: test/functional/credit_cards_controller_test.rb
Functional Test: test/controllers/credit_cards_controller_test.rb
Views: app/views/credit_cards/index.html.erb [...]
Helper: app/helpers/credit_cards_helper.rb