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 135be7fCopy full SHA for 135be7f
test/test_helper.rb
@@ -183,14 +183,17 @@
183
module ActiveSupport
184
class TestCase
185
include ActiveRecord::TestFixtures
186
+
187
+ # `fixture_path=` was deprecated in favor of
188
+ # `fixture_paths=` in Rails 7.1, removed in Rails 7.2.
189
if respond_to?(:fixture_paths=)
190
self.fixture_paths = [File.dirname(__FILE__) + "/fixtures"]
191
else
192
self.fixture_path = File.dirname(__FILE__) + "/fixtures"
193
end
194
- # use_transactional_fixtures= is deprecated and will be removed from Rails 5.1
- # (use use_transactional_tests= instead)
195
+ # `use_transactional_fixtures=` was deprecated in favor of
196
+ # `use_transactional_tests=` in Rails 5.0, removed in Rails 5.1.
197
if respond_to?(:use_transactional_tests=)
198
self.use_transactional_tests = false
199
0 commit comments