]> git.openstreetmap.org Git - rails.git/commitdiff
Fix accidental change in comments
authorTom Hughes <tom@compton.nu>
Mon, 6 Mar 2017 18:01:26 +0000 (18:01 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 6 Mar 2017 18:01:26 +0000 (18:01 +0000)
test/controllers/message_controller_test.rb

index 05e3d3a13a5f2f1fd1f1aa2217512fee8b74d86f..ae71046c16226276614731052b89cf55b609be59 100644 (file)
@@ -292,10 +292,10 @@ class MessageControllerTest < ActionController::TestCase
     assert_template "read"
     assert_equal false, Message.find(unread_message.id).message_read
 
     assert_template "read"
     assert_equal false, Message.find(unread_message.id).message_read
 
-    # Login as the message recipient_user
+    # Login as the message recipient
     session[:user] = recipient_user.id
 
     session[:user] = recipient_user.id
 
-    # Check that the message recipient_user can read the message
+    # Check that the message recipient can read the message
     get :read, :message_id => unread_message.id
     assert_response :success
     assert_template "read"
     get :read, :message_id => unread_message.id
     assert_response :success
     assert_template "read"