Skip to content

Commit

Permalink
Rename FactoryGirl to FactoryBot in AnyFixture Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Samsinite authored and palkan committed Nov 3, 2023
1 parent bd8502e commit bda0d76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/any_fixture.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RSpec.shared_context "account", account: true do
@account = TestProf::AnyFixture.register(:account) do
# Do anything here, AnyFixture keeps track of affected DB tables
# For example, you can use factories here
FactoryGirl.create(:account)
FactoryBot.create(:account)

# or with Fabrication
Fabricate(:account)
Expand Down Expand Up @@ -183,7 +183,7 @@ RSpec.shared_context "account", account: true do
TestProf::AnyFixture.register_dump("account") do
# Do anything here, AnyFixture keeps track of affected DB tables
# For example, you can use factories here
account = FactoryGirl.create(:account, name: "test")
account = FactoryBot.create(:account, name: "test")

# or with Fabrication
account = Fabricate(:account, name: "test")
Expand Down

0 comments on commit bda0d76

Please sign in to comment.