diff options
author | Rémy Coutable <remy@rymai.me> | 2017-12-14 01:13:44 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-12-14 15:01:55 +0100 |
commit | 4af9d592c500d2d97ec091d10ba860488c3702ea (patch) | |
tree | 2b3ea135b3119d4d71a829c2b0a80c332fa7877a /doc/development/testing_guide/index.md | |
parent | f51141878171c1162818f8fa0133125a5e92d3eb (diff) | |
download | gitlab-ce-4af9d592c500d2d97ec091d10ba860488c3702ea.tar.gz |
Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_rails
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands:
```
grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|"
grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|"
```
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/development/testing_guide/index.md')
-rw-r--r-- | doc/development/testing_guide/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/testing_guide/index.md b/doc/development/testing_guide/index.md index 8045bbad7ba..65386f231a0 100644 --- a/doc/development/testing_guide/index.md +++ b/doc/development/testing_guide/index.md @@ -33,7 +33,7 @@ changes should be tested. ## [Testing best practices](best_practices.md) -Everything you should know about how to write good tests: RSpec, FactoryGirl, +Everything you should know about how to write good tests: RSpec, FactoryBot, system tests, parameterized tests etc. --- |