Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fixture_path deprecation #48505

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

eileencodes
Copy link
Member

Replace fixture_path with fixture_paths to fix the deprecation warning for fixture paths.

Ex warning:

DEPRECATION 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.

Replace `fixture_path` with `fixture_paths` to fix the deprecation
warning for fixture paths.

Ex warning:

```
DEPRECATION 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.
```
@eileencodes eileencodes merged commit 7dd67dc into rails:main Jun 16, 2023
9 checks passed
@eileencodes eileencodes deleted the fix-fixture_path-deprecation branch June 16, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant