Permalink
Browse files

Merge pull request #27619 from dixpac/add_missing_generator_test

Test `--skip-git` generator option
  • Loading branch information...
guilleiguaran committed Jan 9, 2017
2 parents 3bc747b + ef34b28 commit 8cb3cdffdb70f3575518d24ea96ec891e40d21d0
Showing with 5 additions and 0 deletions.
  1. +5 −0 railties/test/generators/app_generator_test.rb
@@ -437,6 +437,11 @@ def test_generator_if_skip_action_cable_is_given
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'/

0 comments on commit 8cb3cdf

Please sign in to comment.