From d86380e7b59ba6818553736c28e92d966b1b377c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 6 Mar 2017 18:01:26 +0000 Subject: [PATCH] Fix accidental change in comments --- test/controllers/message_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/controllers/message_controller_test.rb b/test/controllers/message_controller_test.rb index 05e3d3a13..ae71046c1 100644 --- a/test/controllers/message_controller_test.rb +++ b/test/controllers/message_controller_test.rb @@ -292,10 +292,10 @@ class MessageControllerTest < ActionController::TestCase 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 - # 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" -- 2.43.2