diff --git a/test/test_helper.rb b/test/test_helper.rb index d6c9cb1..d608129 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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