diff options
author | José Valim <jose.valim@gmail.com> | 2009-10-28 18:32:53 -0200 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-10-28 16:54:38 -0400 |
commit | a288b74f1c75c6f100de7611a5093a421f1ad6d1 (patch) | |
tree | c8947be8dd25b00db3d260aef20b6c8a53ed9c19 /railties/test/generators/plugin_generator_test.rb | |
parent | 8dcf91ca113579646e95b0fd7a864dfb6512a53b (diff) | |
download | rails-a288b74f1c75c6f100de7611a5093a421f1ad6d1.tar.gz rails-a288b74f1c75c6f100de7611a5093a421f1ad6d1.tar.bz2 rails-a288b74f1c75c6f100de7611a5093a421f1ad6d1.zip |
Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]
Signed-off-by: Yehuda Katz <wycats@gmail.com>
Diffstat (limited to 'railties/test/generators/plugin_generator_test.rb')
-rw-r--r-- | railties/test/generators/plugin_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index f5b8b6ffb6..c8bfaf3d97 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -50,7 +50,7 @@ class PluginGeneratorTest < GeneratorsTestCase protected def run_generator(args=["plugin_fu"], config={}) - silence(:stdout) { Rails::Generators::PluginGenerator.start args, config.merge(:destination_root => destination_root) } + silence(:stdout){ Rails::Generators::PluginGenerator.start args, config } end end |