Skip to content

Commit

Permalink
Fix a link to old files
Browse files Browse the repository at this point in the history
The default branch is `main` now and we should link to the latest files.
  • Loading branch information
y-yagi committed Oct 26, 2023
1 parent fd1ca67 commit 9bcc19d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ end
```

You may want to configure your test suite to include factory\_bot methods; see
[configuration](https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#configure-your-test-suite).
[configuration](https://github.com/thoughtbot/factory_bot/blob/main/GETTING_STARTED.md#configure-your-test-suite).

### Automatic Factory Definition Loading

Expand Down Expand Up @@ -150,7 +150,7 @@ Factory\_bot\_rails will add a custom generator:
rails generate factory_bot:model NAME [field:type field:type] [options]
```

[default factory template]: https://github.com/thoughtbot/factory_bot_rails/tree/master/lib/generators/factory_bot/model/templates/factories.erb
[default factory template]: https://github.com/thoughtbot/factory_bot_rails/tree/main/lib/generators/factory_bot/model/templates/factories.erb

### Active Record Configuration

Expand Down

0 comments on commit 9bcc19d

Please sign in to comment.