diff options
Diffstat (limited to 'railties/test/generators/plugin_generator_test.rb')
-rw-r--r-- | railties/test/generators/plugin_generator_test.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index b9f09d5163..2b41f85a2d 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -37,10 +37,9 @@ class PluginGeneratorTest < GeneratorsTestCase def test_creates_generator_if_required run_generator ["plugin_fu", "--generator"] - assert_file "vendor/plugins/plugin_fu/generators/plugin_fu/templates" - - flag = /class PluginFuGenerator < Rails::Generators::NamedBase/ - assert_file "vendor/plugins/plugin_fu/generators/plugin_fu/plugin_fu_generator.rb", flag + assert_file "vendor/plugins/plugin_fu/lib/generators/templates" + assert_file "vendor/plugins/plugin_fu/lib/generators/plugin_fu_generator.rb", + /class PluginFuGenerator < Rails::Generators::NamedBase/ end def test_plugin_generator_on_revoke |