Update USAGE docs for generators.
This commit is contained in:
parent
a0dc6755db
commit
d31e03f356
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 [...]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue