Skip to content

Commit

Permalink
Removed unnecessary --no-skip-* app generator test
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilgkrishnan committed Jul 28, 2023
1 parent 0e5a99d commit 29c7fa0
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions railties/test/generators/app_generator_test.rb
Expand Up @@ -814,13 +814,6 @@ def test_skip_javascript_option_with_skip_js_argument
assert_no_gem "importmap-rails"
end

def test_no_skip_javascript_option_with_no_skip_javascript_argument
run_generator [destination_root, "--no-skip-javascript"]
assert_gem "stimulus-rails"
assert_gem "turbo-rails"
assert_gem "importmap-rails"
end

def test_hotwire
run_generator_and_bundler [destination_root]
assert_gem "turbo-rails"
Expand Down Expand Up @@ -885,11 +878,6 @@ def test_css_option_with_cssbundling_gem_does_not_force_jsbundling_gem
assert_gem "importmap-rails"
end

def test_dev_gems
run_generator [destination_root, "--no-skip-dev-gems"]
assert_gem "web-console"
end

def test_skip_dev_gems
run_generator [destination_root, "--skip-dev-gems"]
assert_no_gem "web-console"
Expand Down Expand Up @@ -1085,14 +1073,6 @@ def test_skip_docker
assert_no_file "bin/docker-entrypoint"
end

def test_no_skip_docker
run_generator [destination_root, "--no-skip-docker"]

assert_file ".dockerignore"
assert_file "Dockerfile"
assert_file "bin/docker-entrypoint"
end

def test_system_tests_directory_generated
run_generator

Expand Down

0 comments on commit 29c7fa0

Please sign in to comment.