Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Aug 29, 2024
1 parent 55d19f9 commit ec6606f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec6606f

Please sign in to comment.