Skip to content

Commit ec6606f

Browse files
Fix tests
1 parent 55d19f9 commit ec6606f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
ruby: ['2.7', '3.0', '3.1', '3.2']
13+
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
1414
fail-fast: false
1515

1616
steps:

test/test_helper.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ module ActiveSupport
1717
class TestCase
1818
include ActiveRecord::TestFixtures
1919

20-
self.fixture_path = "#{File.dirname __FILE__}/fixtures/"
20+
if respond_to? :fixture_paths=
21+
fixture_paths << "#{File.dirname __FILE__}/fixtures/"
22+
else
23+
self.fixture_path = "#{File.dirname __FILE__}/fixtures/"
24+
end
2125

2226
self.use_transactional_tests = true
2327
self.use_instantiated_fixtures = false

0 commit comments

Comments
 (0)