]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/dashboards_controller_test.rb
Bump osm-community-index from 5.6.2 to 5.6.3
[rails.git] / test / controllers / dashboards_controller_test.rb
index 5073df8cc1ab8d6b1d32b1a447da3bbc1ee4d287..84f9610e5f3ac7a583a3ee6a513f3f3304585cb9 100644 (file)
@@ -28,7 +28,9 @@ class DashboardsControllerTest < ActionDispatch::IntegrationTest
 
     # Friends should be visible as we're now logged in
     assert_select "div#friends-container" do
-      assert_select "div.contact-activity", :count => 1
+      assert_select "div" do
+        assert_select "a[href='/user/#{ERB::Util.u(friend_user.display_name)}']", :count => 1
+      end
     end
   end
 end