factory_girl
https://github.com/thoughtbot/factory_girl
Ruby
A library for setting up Ruby objects as test data.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
18 Subscribers
Add a CodeTriage badge to factory_girl
Help out
- Issues
- Rubocop (`Rails/SaveBang`) linters `create(my_dynamic_string.to_sym)` when using with dynamic first param
- build_stubbed does not fill id for uuid column type with SQLServer
- attributes_for does not use initialize_with like the docs states it does
- Configurable ID factory for build_stubbed
- Updating from 6.2.0 -> 6.4.2 is a breaking change for us: "Do not define "id". Instead, rely on the database to generate it."
- Add per model automatically_define_enum_traits option
- Allow overriding of `FactoryBot.automatically_define_enum_traits` on a per-factory basis
- Getting Duplication error
- How do you do inline association attribute overrides when your association doesnt match the factory name?
- Associations blocks are being executed with invalid data at attributes_for
- Docs