diff options
Diffstat (limited to 'spec/controllers/remote_unfollows_controller_spec.rb')
-rw-r--r-- | spec/controllers/remote_unfollows_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/remote_unfollows_controller_spec.rb b/spec/controllers/remote_unfollows_controller_spec.rb index a1a55ede0..e2f3fe4cb 100644 --- a/spec/controllers/remote_unfollows_controller_spec.rb +++ b/spec/controllers/remote_unfollows_controller_spec.rb @@ -10,7 +10,7 @@ describe RemoteUnfollowsController do let(:current_user) { Fabricate(:user, account: current_account) } let(:current_account) { Fabricate(:account) } - let(:remote_account) { Fabricate(:user, email: 'bob@example.com', account: Fabricate(:account, username: 'bob', protocol: :activitypub, domain: 'example.com', inbox_url: 'http://example.com/inbox')).account } + let(:remote_account) { Fabricate(:user, email: 'bob@example.com', account: Fabricate(:account, username: 'bob', domain: 'example.com', inbox_url: 'http://example.com/inbox')).account } before do sign_in current_user current_account.follow!(remote_account) |