summaryrefslogtreecommitdiffstats
path: root/test/unit/message_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-01-18 15:46:22 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-01-18 15:46:22 +0000
commit0f832e0d766b1742a3272d878519df11d01fc2c5 (patch)
treea1053263bd5d72345256792305bcb13fd7bc017d /test/unit/message_test.rb
parent93e0885b64d82b42e028f68ad6f8e15dede7c781 (diff)
downloadredmine-0f832e0d766b1742a3272d878519df11d01fc2c5.tar.gz
redmine-0f832e0d766b1742a3272d878519df11d01fc2c5.zip
code layout clean up unit message test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11198 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/message_test.rb')
-rw-r--r--test/unit/message_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/message_test.rb b/test/unit/message_test.rb
index 290dbad07..770e3c649 100644
--- a/test/unit/message_test.rb
+++ b/test/unit/message_test.rb
@@ -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)