method
fixture_path
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::TestFixtures
fixture_path()public
No documentation available.
# File activerecord/lib/active_record/test_fixtures.rb, line 112
def fixture_path # :nodoc:
ActiveRecord.deprecator.warn(<<~WARNING)
TestFixtures#fixture_path is deprecated and will be removed in Rails 7.2. Use #fixture_paths instead.
If multiple fixture paths have been configured with #fixture_paths, then #fixture_path will just return
the first path.
WARNING
fixture_paths.first
end