diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2017-08-01 13:20:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 13:20:22 -0500 |
commit | 9e3d8cbd0705cacf424ef4f99d2e317168442065 (patch) | |
tree | 5d3747aee9277c0620787fa4f2cc9860f27f4ad0 /railties | |
parent | e31a1629d4b6a82e334735ff4a78016db24f32f5 (diff) | |
parent | 75f87fa99e3c07bfec2719cc24bc1699cd818a70 (diff) | |
download | rails-9e3d8cbd0705cacf424ef4f99d2e317168442065.tar.gz rails-9e3d8cbd0705cacf424ef4f99d2e317168442065.tar.bz2 rails-9e3d8cbd0705cacf424ef4f99d2e317168442065.zip |
Merge pull request #30023 from y-yagi/remove_unnecessary_doc_directory_deletion
Remove unnecessary `doc` directory deletion
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/plugin_generator.rb | 1 | ||||
-rw-r--r-- | railties/test/generators/plugin_generator_test.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb index a1209e4624..61c54b4222 100644 --- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb +++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb @@ -120,7 +120,6 @@ task default: :test def test_dummy_clean inside dummy_path do remove_file "db/seeds.rb" - remove_file "doc" remove_file "Gemfile" remove_file "lib/tasks" remove_file "public/robots.txt" diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index e8372dea47..1fa40f74b9 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -491,7 +491,6 @@ class PluginGeneratorTest < Rails::Generators::TestCase assert_no_file "test/dummy/public/robots.txt" assert_no_file "test/dummy/README.md" assert_no_directory "test/dummy/lib/tasks" - assert_no_directory "test/dummy/doc" assert_no_directory "test/dummy/test" assert_no_directory "test/dummy/vendor" assert_no_directory "test/dummy/.git" |