File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ def generator_options
71
71
skip_action_cable : !defined? ( ActionCable ::Engine ) ,
72
72
skip_brakeman : skip_gem? ( "brakeman" ) ,
73
73
skip_rubocop : skip_gem? ( "rubocop" ) ,
74
+ skip_thruster : skip_gem? ( "thruster" ) ,
74
75
skip_test : !defined? ( Rails ::TestUnitRailtie ) ,
75
76
skip_system_test : Rails . application . config . generators . system_tests . nil? ,
76
77
skip_asset_pipeline : asset_pipeline . nil? ,
Original file line number Diff line number Diff line change @@ -304,6 +304,16 @@ def test_app_update_preserves_skip_rubocop
304
304
end
305
305
end
306
306
307
+ def test_app_update_preserves_skip_thruster
308
+ run_generator [ destination_root , "--skip-thruster" ]
309
+
310
+ FileUtils . cd ( destination_root ) do
311
+ assert_no_changes -> { File . exist? ( "bin/thrust" ) } do
312
+ run_app_update
313
+ end
314
+ end
315
+ end
316
+
307
317
def test_app_update_preserves_skip_test
308
318
run_generator [ destination_root , "--skip-test" ]
309
319
You can’t perform that action at this time.
0 commit comments