diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d3e58e..83e8056 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: strategy: matrix: ruby: + - '3.4' - '3.3' - '3.2' - '3.1' diff --git a/features/its.feature b/features/its.feature index e650b1d..8811872 100644 --- a/features/its.feature +++ b/features/its.feature @@ -159,7 +159,7 @@ Feature: attribute of subject When I run rspec Then the example should fail And the output should contain "Failure/Error: its(:foo) { will_not raise_error }" - And the output should contain "expected no Exception, got #= 3.4)"; then + # This is a monkey patch to fix an issue with cucumber using outdated hash syntax, remove when cucumber is updated or ruby 3.4 released + sed -i '$i\class Hash; alias :__initialize :initialize; def initialize(*args, **_kw, &block) = __initialize(*args, &block); end' bin/cucumber + bin/cucumber --strict else bundle exec cucumber --strict fi;