diff options
author | dixpac <dino.onex@gmail.com> | 2017-01-10 14:58:28 +0100 |
---|---|---|
committer | dixpac <dino.onex@gmail.com> | 2017-01-12 17:21:56 +0100 |
commit | 8989a5057b6dc0e287a8b27ded31f08c5e56d0a7 (patch) | |
tree | e949aa43881afd227d97ba2e163d53bb16e65098 /railties/test/generators/shared_generator_tests.rb | |
parent | 242d7e1e039dd36e9868f13824cb6770a9d01076 (diff) | |
download | rails-8989a5057b6dc0e287a8b27ded31f08c5e56d0a7.tar.gz rails-8989a5057b6dc0e287a8b27ded31f08c5e56d0a7.tar.bz2 rails-8989a5057b6dc0e287a8b27ded31f08c5e56d0a7.zip |
Initalize git repo when creatin new rails app
* If `--skip-git` is not specified initalize git repo
when creating new rails app
Diffstat (limited to 'railties/test/generators/shared_generator_tests.rb')
-rw-r--r-- | railties/test/generators/shared_generator_tests.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb index 08b0e34fe2..cc9d3629e9 100644 --- a/railties/test/generators/shared_generator_tests.rb +++ b/railties/test/generators/shared_generator_tests.rb @@ -109,6 +109,7 @@ module SharedGeneratorTests def test_skip_git run_generator [destination_root, "--skip-git", "--full"] assert_no_file(".gitignore") + assert_no_directory(".git") end def test_skip_keeps |