From 9bcc19dc38cc4abf1a16f392fc4730e6c1221b5f Mon Sep 17 00:00:00 2001 From: Yuji Yaginuma Date: Fri, 27 Oct 2023 08:25:22 +0900 Subject: [PATCH] Fix a link to old files The default branch is `main` now and we should link to the latest files. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7e2ba39..faece76 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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