From ec6606f85af888f5e8524beb124eebd197581636 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Thu, 29 Aug 2024 12:04:27 +0200 Subject: [PATCH] Fix tests --- .github/workflows/tests.yml | 2 +- test/test_helper.rb | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 20458ed..9516bda 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: - ruby: ['2.7', '3.0', '3.1', '3.2'] + ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] fail-fast: false steps: diff --git a/test/test_helper.rb b/test/test_helper.rb index 82c57fe..2d242e9 100755 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -17,7 +17,11 @@ module ActiveSupport class TestCase include ActiveRecord::TestFixtures - self.fixture_path = "#{File.dirname __FILE__}/fixtures/" + if respond_to? :fixture_paths= + fixture_paths << "#{File.dirname __FILE__}/fixtures/" + else + self.fixture_path = "#{File.dirname __FILE__}/fixtures/" + end self.use_transactional_tests = true self.use_instantiated_fixtures = false