We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fixture_paths=
1 parent 1380d42 commit 2a49d25Copy full SHA for 2a49d25
test/test_helper.rb
@@ -183,14 +183,16 @@
183
module ActiveSupport
184
class TestCase
185
include ActiveRecord::TestFixtures
186
+ # `fixture_path=` was deprecated in favor of
187
+ # `fixture_paths=` in Rails 7.1, removed in Rails 7.2.
188
if respond_to?(:fixture_paths=)
189
self.fixture_paths = [File.dirname(__FILE__) + "/fixtures"]
190
else
191
self.fixture_path = File.dirname(__FILE__) + "/fixtures"
192
end
193
- # use_transactional_fixtures= is deprecated and will be removed from Rails 5.1
- # (use use_transactional_tests= instead)
194
+ # `use_transactional_fixtures=` was deprecated in favor of
195
+ # `use_transactional_tests=` in Rails 5.0, removed in Rails 5.1.
196
if respond_to?(:use_transactional_tests=)
197
self.use_transactional_tests = false
198
0 commit comments