projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49c3af4
)
Fix accidental change in comments
author
Tom Hughes
<tom@compton.nu>
Mon, 6 Mar 2017 18:01:26 +0000
(18:01 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 6 Mar 2017 18:01:26 +0000
(18:01 +0000)
test/controllers/message_controller_test.rb
patch
|
blob
|
history
diff --git
a/test/controllers/message_controller_test.rb
b/test/controllers/message_controller_test.rb
index 05e3d3a13a5f2f1fd1f1aa2217512fee8b74d86f..ae71046c16226276614731052b89cf55b609be59 100644
(file)
--- 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"