class method
self.fixture_paths=
Ruby on Rails 7.1.6
Since v7.1.6Signature
fixture_paths=(fixture_paths)
Sets the given path to the fixture set.
Can also append multiple paths.
ActiveSupport::TestCase.fixture_paths << "component1/test/fixtures"
In your test_helper.rb you must have require "rails/test_help".
Source
# File activesupport/lib/active_support/test_case.rb, line 127
Defined in activesupport/lib/active_support/test_case.rb line 127
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TestCase