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

Rails 7.1 deprecation warning for TestFixtures.fixture_path= #1719

Closed
alex-tan opened this issue Nov 22, 2023 · 5 comments
Closed

Rails 7.1 deprecation warning for TestFixtures.fixture_path= #1719

alex-tan opened this issue Nov 22, 2023 · 5 comments

Comments

@alex-tan
Copy link
Contributor

When running tapioca dsl on Rails 7.1:

[2023-11-22T23:51:56.953+08:00] WARN: DEPRECATION WARNING: TestFixtures.fixture_path= is deprecated and will be removed in Rails 7.2. Use .fixture_paths= instead. (called from load at [APP]/vendor/bundle/ruby/3.2.0/bin/tapioca:25)

Tapioca version: 0.11.12

@andyw8
Copy link
Contributor

andyw8 commented Nov 22, 2023

This has already been addressed in #491 and will be available in the next release.

@andyw8 andyw8 closed this as completed Nov 22, 2023
@andyw8
Copy link
Contributor

andyw8 commented Dec 12, 2023

Re-opening, seems I linked to the wrong issue above.

@andyw8 andyw8 reopened this Dec 12, 2023
@aradradev
Copy link

@andyw8 how to fix this error before the next rails release? I am getting this warning while trying to test my Rails application with Rspec.

@andyw8
Copy link
Contributor

andyw8 commented Jan 3, 2024

@aradradev are you using Tapioca? If not then this isn't the right place to ask.

@andyw8
Copy link
Contributor

andyw8 commented Jan 3, 2024

Resolved by #1729, released in v0.11.14.

@andyw8 andyw8 closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants