diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-08 16:05:19 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-08 16:05:19 +0200 |
commit | 9d33c2ab6f29e7be32f3b3607f89f2fbc888853b (patch) | |
tree | d117309a271efb3de4c70aa39f52fc08951e6049 /railties/test | |
parent | aa8b56f5d6fdb2602750d7efdbec15fbe59436bc (diff) | |
download | rails-9d33c2ab6f29e7be32f3b3607f89f2fbc888853b.tar.gz rails-9d33c2ab6f29e7be32f3b3607f89f2fbc888853b.tar.bz2 rails-9d33c2ab6f29e7be32f3b3607f89f2fbc888853b.zip |
Fix generator test broken when rails new was added.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 3975a39ab1..8bd9dc9f39 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -70,9 +70,7 @@ class AppGeneratorTest < Rails::Generators::TestCase end def test_name_collision_raises_an_error - reserved_words = %w[generate g console c server s dbconsole db - application destroy benchmarker profiler - plugin runner test] + reserved_words = %w[application destroy plugin runner test] reserved_words.each do |reserved| content = capture(:stderr){ run_generator [File.join(destination_root, reserved)] } assert_equal "Invalid application name #{reserved}. Please give a name which does not match one of the reserved rails words.\n", content |