Skip to content
This repository
Browse code

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...
commit 2f00854d22a833e6a4afe7b12fa5209bc01c8f04 2 parents 0aec2e7 + 24d67cc
Santiago Pastorino authored July 17, 2011
2  railties/test/generators/plugin_new_generator_test.rb
@@ -206,7 +206,7 @@ def test_create_mountable_application_with_mountable_option
206 206
   def test_creating_gemspec
207 207
     run_generator
208 208
     assert_file "bukkits.gemspec", /s.name = "bukkits"/
209  
-    assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,lib\}\/\*\*\/\*"\]/
  209
+    assert_file "bukkits.gemspec", /s.files = Dir\["\{app,config,db,lib\}\/\*\*\/\*"\]/
210 210
     assert_file "bukkits.gemspec", /s.test_files = Dir\["test\/\*\*\/\*"\]/
211 211
     assert_file "bukkits.gemspec", /s.version = "0.0.1"/
212 212
   end

0 notes on commit 2f00854

Please sign in to comment.
Something went wrong with that request. Please try again.