diff options
author | Prem Sichanugrist <s@sikachu.com> | 2011-04-24 19:56:25 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-04-25 15:30:58 +0800 |
commit | a1c31eca47f19b14161b275ad6432da562a11438 (patch) | |
tree | e7c2f9dd5ee60d714007a120586864d8e8d71900 /railties/test | |
parent | 05ce0007db9361a2b777bc7378e395dafb199fd3 (diff) | |
download | rails-a1c31eca47f19b14161b275ad6432da562a11438.tar.gz rails-a1c31eca47f19b14161b275ad6432da562a11438.tar.bz2 rails-a1c31eca47f19b14161b275ad6432da562a11438.zip |
Add `app/assets/images` directory to plugin new generator
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/plugin_new_generator_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb index d20335ad95..d12dc6925a 100644 --- a/railties/test/generators/plugin_new_generator_test.rb +++ b/railties/test/generators/plugin_new_generator_test.rb @@ -147,6 +147,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase run_generator [destination_root, "--full"] assert_file "app/assets/javascripts" assert_file "app/assets/stylesheets" + assert_file "app/assets/images" assert_file "app/models" assert_file "app/controllers" assert_file "app/views" @@ -162,6 +163,9 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase def test_create_mountable_application_with_mountable_option run_generator [destination_root, "--mountable"] + assert_file "app/assets/javascripts" + assert_file "app/assets/stylesheets" + assert_file "app/assets/images" assert_file "config/routes.rb", /Bukkits::Engine.routes.draw do/ assert_file "lib/bukkits/engine.rb", /isolate_namespace Bukkits/ assert_file "test/dummy/config/routes.rb", /mount Bukkits::Engine => "\/bukkits"/ |