提交 29dce6e4 编写于 作者: R Rafael Mendonça França

Merge pull request #10436 from NARKOZ/keep-images

generate 'app/assets/images' directory when creating new rails app. Fixes #10434
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册