diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-17 10:04:53 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-17 10:04:53 -0700 |
commit | 2f00854d22a833e6a4afe7b12fa5209bc01c8f04 (patch) | |
tree | 01b5ab60b9c2c295644eaa940647790dc12c93c0 /railties | |
parent | 0aec2e7191b8845fda9a2bbe3d76c6a9dc22401b (diff) | |
parent | 24d67cc9dfc28974be25420f69350119fcadac0e (diff) | |
download | rails-2f00854d22a833e6a4afe7b12fa5209bc01c8f04.tar.gz rails-2f00854d22a833e6a4afe7b12fa5209bc01c8f04.tar.bz2 rails-2f00854d22a833e6a4afe7b12fa5209bc01c8f04.zip |
Merge pull request #2118 from arunagw/fix_plugin_gen_test
As we are adding db folder in it. Required in test also.
Diffstat (limited to 'railties')
-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 |