aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-07-17 10:04:53 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2011-07-17 10:04:53 -0700
commit2f00854d22a833e6a4afe7b12fa5209bc01c8f04 (patch)
tree01b5ab60b9c2c295644eaa940647790dc12c93c0 /railties
parent0aec2e7191b8845fda9a2bbe3d76c6a9dc22401b (diff)
parent24d67cc9dfc28974be25420f69350119fcadac0e (diff)
downloadrails-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.rb2
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