aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_case.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-07-25 22:08:34 +0200
committerXavier Noria <fxn@hashref.com>2010-07-25 22:55:38 +0200
commit92669b8320a45e3f0497bfb83c0c8e55d515be0c (patch)
tree67aac01d249af4f83cc0b5aa090a477f41e8eb43 /railties/lib/rails/generators/test_case.rb
parent331df84cc943e08459463d322ca2510490c73b7e (diff)
downloadrails-92669b8320a45e3f0497bfb83c0c8e55d515be0c.tar.gz
rails-92669b8320a45e3f0497bfb83c0c8e55d515be0c.tar.bz2
rails-92669b8320a45e3f0497bfb83c0c8e55d515be0c.zip
application generation: --skip-testunit and --skip-activerecord renamed to --skip-test-unit and --skip-active-record respectively
Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there.
Diffstat (limited to 'railties/lib/rails/generators/test_case.rb')
-rw-r--r--railties/lib/rails/generators/test_case.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/test_case.rb b/railties/lib/rails/generators/test_case.rb
index 0dfb5cd1c9..36bc542ffe 100644
--- a/railties/lib/rails/generators/test_case.rb
+++ b/railties/lib/rails/generators/test_case.rb
@@ -51,7 +51,7 @@ module Rails
# Sets default arguments on generator invocation. This can be overwritten when
# invoking it.
#
- # arguments %w(app_name --skip-activerecord)
+ # arguments %w(app_name --skip-active-record)
#
def self.arguments(array)
self.default_arguments = array
@@ -214,8 +214,8 @@ module Rails
# destination File.expand_path("../tmp", File.dirname(__FILE__))
# teardown :cleanup_destination_root
#
- # test "database.yml is not created when skipping activerecord" do
- # run_generator %w(myapp --skip-activerecord)
+ # test "database.yml is not created when skipping Active Record" do
+ # run_generator %w(myapp --skip-active-record)
# assert_no_file "config/database.yml"
# end
# end