diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-07-17 18:39:33 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-07-17 18:39:33 +0530 |
commit | 24d67cc9dfc28974be25420f69350119fcadac0e (patch) | |
tree | 01b5ab60b9c2c295644eaa940647790dc12c93c0 | |
parent | 0aec2e7191b8845fda9a2bbe3d76c6a9dc22401b (diff) | |
download | rails-24d67cc9dfc28974be25420f69350119fcadac0e.tar.gz rails-24d67cc9dfc28974be25420f69350119fcadac0e.tar.bz2 rails-24d67cc9dfc28974be25420f69350119fcadac0e.zip |
As we are adding db folder in it. Required in test also.
-rw-r--r-- | railties/test/generators/plugin_new_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb index 4bd77ff7e3..0ccb2ae9da 100644 --- a/railties/test/generators/plugin_new_generator_test.rb +++ b/railties/test/generators/plugin_new_generator_test.rb @@ -206,7 +206,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase def test_creating_gemspec run_generator assert_file "bukkits.gemspec", /s.name = "bukkits"/ - assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,lib\}\/\*\*\/\*"\]/ + assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,db,lib\}\/\*\*\/\*"\]/ assert_file "bukkits.gemspec", /s.test_files = Dir\["test\/\*\*\/\*"\]/ assert_file "bukkits.gemspec", /s.version = "0.0.1"/ end |