Skip to content

Commit

Permalink
Change FactoryGirl by FactoryBot
Browse files Browse the repository at this point in the history
The name of FactoryGirl was changed to FactoryBot, so it should be
updated it in the documentation.
  • Loading branch information
Ana06 authored and Gui Vieira committed Mar 17, 2018
1 parent cd96089 commit e35f083
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ module ActiveRecord
# 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
Expand Down

0 comments on commit e35f083

Please sign in to comment.