From b71425f4b20fe797fe7a926748fdc2c4c120594e Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 22 Aug 2024 17:41:50 +0300 Subject: [PATCH] Remove outdated test for friends in users controller --- test/controllers/users_controller_test.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/controllers/users_controller_test.rb b/test/controllers/users_controller_test.rb index cff52cff2..4f4edf10b 100644 --- a/test/controllers/users_controller_test.rb +++ b/test/controllers/users_controller_test.rb @@ -325,9 +325,6 @@ class UsersControllerTest < ActionDispatch::IntegrationTest assert_select "a[href='/blocks/new/#{ERB::Util.u(user.display_name)}']", 0 end - # Friends shouldn't be visible as we're not logged in - assert_select "div#friends-container", :count => 0 - # Test a user who has been blocked blocked_user = create(:user) create(:user_block, :user => blocked_user) -- 2.39.5