Skip to content

Commit

Permalink
Fixed Rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
german committed Oct 14, 2023
1 parent d25c302 commit 545e70b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions railties/test/generators/app_generator_test.rb
Expand Up @@ -739,15 +739,7 @@ def test_skip_javascript_option
def test_mutual_use_of_skip_asset_pipeline_and_css_options
run_generator [destination_root, "--skip-assets-pipeline", "--css=sass"]

# command_check = -> command, *_ do
# if command == "importmap:install"
# flunk "`importmap:install` expected to not be called."
# end
# end

#generator.stub(:rails_command, command_check) do
run_generator_instance
#end
run_generator_instance

assert_no_gem "importmap-rails"
assert_no_gem "jsbundling-rails"
Expand Down

0 comments on commit 545e70b

Please sign in to comment.