factory_bot icon indicating copy to clipboard operation
factory_bot copied to clipboard

A library for setting up Ruby objects as test data.

Results 135 factory_bot issues
Sort by recently updated
recently updated
newest added

### Problem this feature will solve Sometimes, when creating a new record with Factory Bot, we believe a trait exists, but it doesn't. That can happen because it was written...

feature

[Ruby 3.0 reached EOL on April 2024](https://www.ruby-lang.org/en/downloads/branches/), but we're still running that version on CI: ![Screenshot 2024-11-06 at 11 10 44](https://github.com/user-attachments/assets/b3449fbe-fef1-49ca-a648-8fc6032b22fb) Editing the workflow build file to remove 3.0 should...

good first issue

### Description Hello! I was reading the [documentation](https://github.com/thoughtbot/factory_bot/blob/main/GETTING_STARTED.md#initial-value) on restricting the sequence to an initial starting value. Following the documentation as written has no effect. ### Reproduction Steps ``` require...

bug

This has been a recurring issue that has not been documented in one single place. There are workarounds in several issues. This PR attempts to have a single place where...

During Open Summit 2024, we noticed that we don't have a section in the README that helps beginners with the basics of contributing to Factory Bot. The [existing documentation](https://github.com/thoughtbot/factory_bot/blob/main/CONTRIBUTING.md) might...

feature