Skip to content

Commit

Permalink
Fix integration test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jul 18, 2023
1 parent 5bc4d04 commit 87bdac4
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 @@ -37,6 +37,7 @@
# Load fixtures from the engine
if ActiveSupport::TestCase.respond_to?(:fixture_paths=)
ActiveSupport::TestCase.fixture_paths << File.expand_path("../fixtures", __FILE__)
ActionDispatch::IntegrationTest.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
Expand Down

0 comments on commit 87bdac4

Please sign in to comment.