diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-29 18:46:04 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-29 18:46:04 +0200 |
commit | 74efe4c2532bf4680e7d03c5ea43cd07d4b4d403 (patch) | |
tree | c250c09515f4571ca1c639bc6259648a346726fe /railties/lib/rails | |
parent | 9a865ee25ea01c68015b46e69ca0589f0024a0d5 (diff) | |
download | rails-74efe4c2532bf4680e7d03c5ea43cd07d4b4d403.tar.gz rails-74efe4c2532bf4680e7d03c5ea43cd07d4b4d403.tar.bz2 rails-74efe4c2532bf4680e7d03c5ea43cd07d4b4d403.zip |
Revert "Update USAGE docs for generators."
This reverts commit d31e03f3566471f2ad04dc6dace889fae962f7a8.
Diffstat (limited to 'railties/lib/rails')
6 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/rails/controller/USAGE b/railties/lib/rails/generators/rails/controller/USAGE index fc990e7684..70618a3906 100644 --- a/railties/lib/rails/generators/rails/controller/USAGE +++ b/railties/lib/rails/generators/rails/controller/USAGE @@ -13,6 +13,6 @@ Example: Credit card controller with URLs like /credit_card/debit. Controller: app/controllers/credit_card_controller.rb - Functional Test: test/controllers/credit_card_controller_test.rb + Functional Test: test/functional/credit_card_controller_test.rb Views: app/views/credit_card/debit.html.erb [...] Helper: app/helpers/credit_card_helper.rb diff --git a/railties/lib/rails/generators/rails/helper/USAGE b/railties/lib/rails/generators/rails/helper/USAGE index 30e323a858..c0ddb0f606 100644 --- a/railties/lib/rails/generators/rails/helper/USAGE +++ b/railties/lib/rails/generators/rails/helper/USAGE @@ -13,5 +13,5 @@ Example: Credit card helper. Helper: app/helpers/credit_card_helper.rb - Test: test/helpers/credit_card_helper_test.rb + Test: test/unit/helpers/credit_card_helper_test.rb diff --git a/railties/lib/rails/generators/rails/mailer/USAGE b/railties/lib/rails/generators/rails/mailer/USAGE index 87e069442f..a08d459739 100644 --- a/railties/lib/rails/generators/rails/mailer/USAGE +++ b/railties/lib/rails/generators/rails/mailer/USAGE @@ -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/controllers/notifications_test.rb + Test: test/functional/notifications_test.rb Fixtures: test/fixtures/notifications/signup [...] diff --git a/railties/lib/rails/generators/rails/model/USAGE b/railties/lib/rails/generators/rails/model/USAGE index ac09adc01d..d97e9ac103 100644 --- a/railties/lib/rails/generators/rails/model/USAGE +++ b/railties/lib/rails/generators/rails/model/USAGE @@ -21,7 +21,7 @@ Examples: For ActiveRecord and TestUnit it creates: Model: app/models/account.rb - Test: test/models/account_test.rb + Test: test/unit/account_test.rb Fixtures: test/fixtures/accounts.yml Migration: db/migrate/XXX_add_accounts.rb diff --git a/railties/lib/rails/generators/rails/observer/USAGE b/railties/lib/rails/generators/rails/observer/USAGE index 1d2de7f17f..d8f32a6a48 100644 --- a/railties/lib/rails/generators/rails/observer/USAGE +++ b/railties/lib/rails/generators/rails/observer/USAGE @@ -9,4 +9,4 @@ Example: For ActiveRecord and TestUnit it creates: Observer: app/models/account_observer.rb - TestUnit: test/observers/account_observer_test.rb + TestUnit: test/unit/account_observer_test.rb diff --git a/railties/lib/rails/generators/rails/scaffold_controller/USAGE b/railties/lib/rails/generators/rails/scaffold_controller/USAGE index 419f302f54..673f69bc81 100644 --- a/railties/lib/rails/generators/rails/scaffold_controller/USAGE +++ b/railties/lib/rails/generators/rails/scaffold_controller/USAGE @@ -15,6 +15,6 @@ Example: Credit card controller with URLs like /credit_card/debit. Controller: app/controllers/credit_cards_controller.rb - Functional Test: test/controllers/credit_cards_controller_test.rb + Functional Test: test/functional/credit_cards_controller_test.rb Views: app/views/credit_cards/index.html.erb [...] Helper: app/helpers/credit_cards_helper.rb |