Permalink
Browse files

Merge pull request #2118 from arunagw/fix_plugin_gen_test

As we are adding db folder in it. Required in test also.
  • Loading branch information...
2 parents 0aec2e7 + 24d67cc commit 2f00854d22a833e6a4afe7b12fa5209bc01c8f04 @spastorino spastorino committed Jul 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/plugin_new_generator_test.rb
@@ -206,7 +206,7 @@ def test_create_mountable_application_with_mountable_option
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

0 comments on commit 2f00854

Please sign in to comment.