Skip to content

Commit

Permalink
Require Rails 7.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
UweKubosch committed Apr 27, 2024
1 parent 0eebb2f commit bbe0e43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

# Load fixtures from the engine
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
ActiveSupport::TestCase.fixture_paths = [File.expand_path('fixtures', __dir__)]
ActionDispatch::IntegrationTest.fixture_paths = ActiveSupport::TestCase.fixture_paths
ActiveSupport::TestCase.file_fixture_path = "#{ActiveSupport::TestCase.fixture_paths[0]}/files"
ActiveSupport::TestCase.fixture_path = File.expand_path('fixtures', __dir__)
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
ActiveSupport::TestCase.file_fixture_path = "#{ActiveSupport::TestCase.fixture_path}/files"
ActiveSupport::TestCase.fixtures :all
end

Expand Down

0 comments on commit bbe0e43

Please sign in to comment.