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

Move stub strategy into factory_bot_rails #1643

Open
mike-burns opened this issue May 10, 2024 · 0 comments
Open

Move stub strategy into factory_bot_rails #1643

mike-burns opened this issue May 10, 2024 · 0 comments
Labels

Comments

@mike-burns
Copy link
Contributor

The stub strategy is specific to ActiveRecord. It exists to create a stub of ActiveRecord model instances. Therefore, it should live in factory_bot_rails.

My hope is that by doing this we'll need to refactor some code and add some hooks. This could allow for better hooks for adding strategies, meaning people could make more of their own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant