Skip to content

Commit

Permalink
Re-add IntegrationTest fixture path for older Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Mar 21, 2023
1 parent cf08497 commit 187492d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
ActiveSupport::TestCase.fixture_paths << File.expand_path("../fixtures", __FILE__)
elsif ActiveSupport::TestCase.respond_to?(:fixture_path=)
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
end

ActiveSupport::TestCase.fixtures :all
Expand Down

0 comments on commit 187492d

Please sign in to comment.