about summary refs log tree commit diff
path: root/spec/workers/unfollow_follow_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/unfollow_follow_worker_spec.rb')
-rw-r--r--spec/workers/unfollow_follow_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/unfollow_follow_worker_spec.rb b/spec/workers/unfollow_follow_worker_spec.rb
index 5052c5616..5ea4256a9 100644
--- a/spec/workers/unfollow_follow_worker_spec.rb
+++ b/spec/workers/unfollow_follow_worker_spec.rb
@@ -3,7 +3,7 @@
 require 'rails_helper'
 
 describe UnfollowFollowWorker do
-  let(:local_follower)   { Fabricate(:user, email: 'bob@example.com', account: Fabricate(:account, username: 'bob')).account }
+  let(:local_follower)   { Fabricate(:account) }
   let(:source_account)   { Fabricate(:account) }
   let(:target_account)   { Fabricate(:account) }
   let(:show_reblogs)     { true }