diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index c610f6900..6e6c334dc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -27,7 +27,7 @@ jobs: ruby-version: ['jruby-head'] db: ['mysql2'] test_targets: ["rails:test_mysql2"] - ar_version: ["7-2-stable"] + ar_version: ["8-0-stable"] prepared_statements: ['false', 'true'] driver: ['MySQL'] @@ -84,7 +84,7 @@ jobs: ruby-version: [ 'jruby-head' ] db: [ 'postgresql' ] test_targets: [ "rails:test_postgresql" ] - ar_version: ["7-2-stable"] + ar_version: ["8-0-stable"] prepared_statements: [ 'false', 'true' ] services: @@ -139,7 +139,7 @@ jobs: ruby-version: ['jruby-head'] db: ['sqlite3'] test_targets: ["rails:test_sqlite3"] - ar_version: ["7-2-stable"] + ar_version: ["8-0-stable"] env: DB: ${{ matrix.db }} diff --git a/test/rails/monkey_patches.rb b/test/rails/monkey_patches.rb deleted file mode 100644 index db3027d3f..000000000 --- a/test/rails/monkey_patches.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'active_support/testing/strict_warnings' - -# This module flags methods in rails tests and blows up ours -module ActiveSupport - module RaiseWarnings # :nodoc: - begin - allowed = remove_const(:ALLOWED_WARNINGS) - const_set(:ALLOWED_WARNINGS, Regexp.union(allowed, /previous definition of/)) - end - end -end \ No newline at end of file