Skip to content

Commit

Permalink
Merge pull request rails#48505 from eileencodes/fix-fixture_path-depr…
Browse files Browse the repository at this point in the history
…ecation

Fix fixture_path deprecation
  • Loading branch information
eileencodes authored Jun 16, 2023
2 parents 3f24fa8 + 74b8326 commit 7dd67dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/query_cache_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def test_query_cache_across_threads
t.datetime :ending
end
end
ActiveRecord::FixtureSet.create_fixtures(self.class.fixture_path, ["tasks"], {}, ActiveRecord::Base)
ActiveRecord::FixtureSet.create_fixtures(self.class.fixture_paths, ["tasks"], {}, ActiveRecord::Base)
end

ActiveRecord::Base.connection_pool.connections.each do |conn|
Expand Down

0 comments on commit 7dd67dc

Please sign in to comment.