From b2ba0123e1ecdfc701a57fff755c75249978f0c7 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Mon, 16 Aug 2021 01:02:08 +0200 Subject: [PATCH] Fix FactoryBot for next-minor --- spec/models/user_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 623c87af8..6a41d3472 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -811,7 +811,7 @@ describe User, :type => :model do context "with autofollow sharing enabled" do it "should start sharing with autofollow account" do AppConfig.settings.autofollow_on_join = true - person = FactoryBot.build(:person) + person = FactoryGirl.build(:person) AppConfig.settings.autofollow_on_join_user = person.diaspora_handle expect(Person).to receive(:find_or_fetch_by_identifier).with(person.diaspora_handle).and_return(person)