diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index d0ca5a35..563778dd 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -22,10 +22,13 @@ jobs: "Gemfile-rails.7.0.x", "Gemfile-rails.7.1.x", "Gemfile-rails.7.2.x", - "Gemfile-rails.8.0.x", ] experimental: [false] include: + - ruby: "3.4.0-preview2" + os: ubuntu-latest + gemfile: "Gemfile-rails.8.0.x" + experimental: true - ruby: "3.4.0-preview2" os: ubuntu-latest gemfile: Gemfile-rails-edge diff --git a/test/compatibility_check_test.rb b/test/compatibility_check_test.rb index d5d23fca..4eeee095 100644 --- a/test/compatibility_check_test.rb +++ b/test/compatibility_check_test.rb @@ -7,7 +7,7 @@ class CompatibilityCheckTest < ViteRuby::Test def test_verify_plugin_version refresh_config(skip_compatibility_check: true) - assert_raises(ViteRuby::CompatibilityCheck) { refresh_config(skip_compatibility_check: false) } + assert_raises(ArgumentError) { refresh_config(skip_compatibility_check: false) } end def test_compatible_plugin