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 the factory definition in traits documentation #1688

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

ddieulivol
Copy link
Contributor

@ddieulivol ddieulivol commented Aug 16, 2024

What's in this MR?

The https://thoughtbot.github.io/factory_bot/traits/using.html page has a small typo.

The second code block uses the active trait, but it's not defined in the Factory.

This MR adds the missing trait.

@ddieulivol ddieulivol changed the title Fix the factory definition in example Fix the factory definition in traits documentation Aug 16, 2024
Copy link
Contributor

@sarahraqueld sarahraqueld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@sarahraqueld
Copy link
Contributor

The check is failing due to a known issue, so I'll go ahead and merge this.

@sarahraqueld sarahraqueld merged commit c000b9e into thoughtbot:main Aug 23, 2024
22 of 23 checks passed
@ddieulivol ddieulivol deleted the patch-1 branch August 23, 2024 15:05
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

Successfully merging this pull request may close these issues.

2 participants