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...
2 parents cc50aab + f354ad1 commit 29dce6e4b540d01bd5fd3ba7b31d2b0efc43bf81 @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 29dce6e

Please sign in to comment.