Permalink
Browse files

Merge pull request #10436 from NARKOZ/keep-images

generate 'app/assets/images' directory when creating new rails app. Fixes #10434
  • Loading branch information...
1 parent b2c98a5 commit bdb32a45c507af5baff5394182015bd51dc8ca8d @rafaelfranca rafaelfranca committed May 4, 2013
@@ -56,6 +56,7 @@ def gitignore
def app
directory 'app'
+ keep_file 'app/assets/images'
keep_file 'app/mailers'
keep_file 'app/models'
@@ -260,6 +260,11 @@ def test_creation_of_a_test_directory
assert_file 'test'
end
+ def test_creation_of_app_assets_images_directory
+ run_generator
+ assert_file "app/assets/images"
+ end
+
def test_creation_of_vendor_assets_javascripts_directory
run_generator
assert_file "vendor/assets/javascripts"

0 comments on commit bdb32a4

Please sign in to comment.