From e61ae7871b16e887a19d1e5debc0f07abc55b431 Mon Sep 17 00:00:00 2001 From: Arne De Herdt Date: Wed, 13 Nov 2024 11:59:21 +0100 Subject: [PATCH] verifying if this is a Ruby 3.1 problem --- .github/workflows/verify.yml | 4 ++-- spec/spec_helper.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index c21bbd9570859..6f198cc67f590 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -60,7 +60,7 @@ jobs: fail-fast: true matrix: ruby: - - '3.1' + #- '3.1' - '3.2' - '3.3' - '3.4.0-preview2' @@ -69,7 +69,7 @@ jobs: - ubuntu-latest include: - os: ubuntu-latest - ruby: '3.1' + ruby: '3.2' test_cmd: 'bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content" MSF_FEATURE_DEFER_MODULE_LOADS=1' test_cmd: - bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 24c5951c6dcd3..f009fca22100b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -100,8 +100,8 @@ if load_metasploit # Run fixtures and examples in transactions to keep the database clean. - config.use_transactional_fixtures = false - config.use_transactional_examples = false + config.use_transactional_fixtures = true + config.use_transactional_examples = true # rspec-rails 3 will no longer automatically infer an example group's spec type # from the file location. You can explicitly opt-in to the feature using this