diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-23 14:42:59 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-23 16:53:47 +0200 |
commit | 1845675822fef4ead89b8919da56c4fadb145e56 (patch) | |
tree | b536919097f2d52fcdc6502d39018bc38f0af58e /railties/test/generator | |
parent | f03890e151d7a8b9cc413ea9955efc95ff4fbfe6 (diff) | |
download | rails-1845675822fef4ead89b8919da56c4fadb145e56.tar.gz rails-1845675822fef4ead89b8919da56c4fadb145e56.tar.bz2 rails-1845675822fef4ead89b8919da56c4fadb145e56.zip |
Added metal generator.
Diffstat (limited to 'railties/test/generator')
-rw-r--r-- | railties/test/generator/app_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generator/app_test.rb b/railties/test/generator/app_test.rb index 5329e27f9b..af1be03e59 100644 --- a/railties/test/generator/app_test.rb +++ b/railties/test/generator/app_test.rb @@ -122,11 +122,11 @@ class AppTest < GeneratorTestCase protected def run_generator(args=[]) - silence(:stdout) { Rails::Generators::App.start [destination_root].concat(args) } + silence(:stdout) { Rails::Generators::AppGenerator.start [destination_root].concat(args) } end def generator(options={}) - @generator ||= Rails::Generators::App.new([destination_root], options, :root => destination_root) + @generator ||= Rails::Generators::AppGenerator.new([destination_root], options, :root => destination_root) end end |