X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/293fe68eff1923a00992e0a195ba025ab7bd9efa..76f1d7bc783228894652f24f0619e8a48d0b3271:/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")