@@ -244,14 +244,6 @@ def test_app_update_does_not_generate_assets_initializer_when_sprockets_and_prop
244
244
assert_no_file "app/assets/config/manifest.js"
245
245
end
246
246
247
- def test_app_update_does_not_generate_manifest_config_when_propshaft_is_used
248
- run_generator [ destination_root , "-a" , "propshaft" ]
249
- run_app_update
250
-
251
- assert_file "config/initializers/assets.rb"
252
- assert_no_file "app/assets/config/manifest.js"
253
- end
254
-
255
247
def test_app_update_does_not_generate_action_cable_contents_when_skip_action_cable_is_given
256
248
run_generator [ destination_root , "--skip-action-cable" ]
257
249
run_app_update
@@ -328,8 +320,8 @@ def test_app_update_preserves_skip_system_test
328
320
end
329
321
end
330
322
331
- def test_app_update_preserves_propshaft
332
- run_generator [ destination_root , "-a" , "propshaft " ]
323
+ def test_app_update_preserves_sprockets
324
+ run_generator [ destination_root , "-a" , "sprockets " ]
333
325
334
326
FileUtils . cd ( destination_root ) do
335
327
config = "config/environments/production.rb"
@@ -949,7 +941,7 @@ def test_skip_hotwire
949
941
end
950
942
951
943
def test_css_option_with_asset_pipeline_tailwind
952
- generator [ destination_root ] , [ "--css=tailwind" , "--asset-pipeline=sprockets" ]
944
+ generator [ destination_root ] , [ "--css=tailwind" ]
953
945
run_generator_instance
954
946
955
947
assert_includes @rails_commands , "tailwindcss:install" , "`tailwindcss:install` expected to be called, but wasn't."
@@ -964,7 +956,7 @@ def test_css_option_with_tailwind_uses_cssbundling_gem_when_using_node
964
956
end
965
957
966
958
def test_css_option_with_asset_pipeline_sass
967
- generator [ destination_root ] , [ "--css=sass" , "--asset-pipeline=sprockets" ]
959
+ generator [ destination_root ] , [ "--css=sass" ]
968
960
run_generator_instance
969
961
970
962
assert_includes @rails_commands , "dartsass:install" , "`dartsass:install` expected to be called, but wasn't."
@@ -979,7 +971,7 @@ def test_css_option_with_sass_uses_cssbundling_gem_when_using_node
979
971
end
980
972
981
973
def test_css_option_with_cssbundling_gem
982
- generator [ destination_root ] , [ "--css=postcss" , "--asset-pipeline=sprockets" ]
974
+ generator [ destination_root ] , [ "--css=postcss" ]
983
975
run_generator_instance
984
976
985
977
assert_includes @rails_commands , "css:install:postcss" , "`css:install:postcss` expected to be called, but wasn't."
0 commit comments