code layout clean up unit message test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11198 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-01-18 15:46:22 +00:00
parent 93e0885b64
commit 0f832e0d76
1 changed files with 2 additions and 2 deletions

View File

@ -36,9 +36,9 @@ class MessageTest < ActiveSupport::TestCase
assert message.save
@board.reload
# topics count incremented
assert_equal topics_count+1, @board[:topics_count]
assert_equal topics_count + 1, @board[:topics_count]
# messages count incremented
assert_equal messages_count+1, @board[:messages_count]
assert_equal messages_count + 1, @board[:messages_count]
assert_equal message, @board.last_message
# author should be watching the message
assert message.watched_by?(@user)