Change FactoryGirl by FactoryBot

The name of FactoryGirl was changed to FactoryBot, so it should be
updated it in the documentation.
This commit is contained in:
Ana María Martínez Gómez 2018-03-17 19:37:47 +01:00 committed by Gui Vieira
parent cd96089a56
commit e35f083b88
1 changed files with 2 additions and 2 deletions

View File

@ -86,13 +86,13 @@ module Shoulda
# end
#
# Or, if you're using
# [FactoryGirl](http://github.com/thoughtbot/factory_girl) and you have a
# [FactoryBot](https://github.com/thoughtbot/factory_bot) and you have a
# `post` factory defined which automatically fills in `content`, you can
# say:
#
# RSpec.describe Post, type: :model do
# describe "validations" do
# subject { FactoryGirl.create(:post) }
# subject { FactoryBot.create(:post) }
# it { should validate_uniqueness_of(:title) }
# end
# end