]> git.openstreetmap.org Git - rails.git/commitdiff
Remove outdated test for friends in users controller
authorAnton Khorev <tony29@yandex.ru>
Thu, 22 Aug 2024 14:41:50 +0000 (17:41 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 22 Aug 2024 14:41:50 +0000 (17:41 +0300)
test/controllers/users_controller_test.rb

index cff52cff25a24fc2ff3ccf251c3b533b6ba94ce5..4f4edf10b034a82ad562b995bbb5328ab6db0382 100644 (file)
@@ -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)