Fix accidental change in comments
This commit is contained in:
parent
49c3af4a32
commit
d86380e7b5
1 changed files with 2 additions and 2 deletions
|
@ -292,10 +292,10 @@ class MessageControllerTest < ActionController::TestCase
|
||||||
assert_template "read"
|
assert_template "read"
|
||||||
assert_equal false, Message.find(unread_message.id).message_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
|
get :read, :message_id => unread_message.id
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_template "read"
|
assert_template "read"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue