diff --git a/test/shared_installer_tests.rb b/test/shared_installer_tests.rb index 56d7b31..76be7a4 100644 --- a/test/shared_installer_tests.rb +++ b/test/shared_installer_tests.rb @@ -73,7 +73,7 @@ module SharedInstallerTests end end - if Rails::VERSION::MAJOR <= 7 + test "basic installation with Sprockets" do with_new_rails_app(*("--asset-pipeline=sprockets" unless Rails::VERSION::MAJOR < 7)) do File.write("app/assets/config/manifest.js", "// pre-existing\n", mode: "a+") @@ -86,7 +86,7 @@ module SharedInstallerTests end end end - end + if Rails::VERSION::MAJOR >= 7 test "basic installation with Propshaft" do