X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..06c2db433d63ebd0e5a83cb6b68a29a6ca1d5050:/test/controllers/friendships_controller_test.rb diff --git a/test/controllers/friendships_controller_test.rb b/test/controllers/friendships_controller_test.rb index b25986d84..6273caaf2 100644 --- a/test/controllers/friendships_controller_test.rb +++ b/test/controllers/friendships_controller_test.rb @@ -110,7 +110,7 @@ class FriendshipsControllerTest < ActionDispatch::IntegrationTest ActionMailer::Base.deliveries.clear end - def test_make_friend_unkown_user + def test_make_friend_unknown_user # Should error when a bogus user is specified session_for(create(:user)) get make_friend_path(:display_name => "No Such User") @@ -188,7 +188,7 @@ class FriendshipsControllerTest < ActionDispatch::IntegrationTest assert_nil Friendship.where(:befriender => user, :befriendee => friend).first end - def test_remove_friend_unkown_user + def test_remove_friend_unknown_user # Should error when a bogus user is specified session_for(create(:user)) get remove_friend_path(:display_name => "No Such User")