diff options
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 20de2258c5..5c26c23cea 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -437,6 +437,11 @@ class AppGeneratorTest < Rails::Generators::TestCase end end + def test_generator_if_skip_git_is_given + run_generator [destination_root, "--skip-git"] + assert_no_file ".gitignore" + end + def test_action_cable_redis_gems run_generator assert_file "Gemfile", /^# gem 'redis'/ |