From 0f832e0d766b1742a3272d878519df11d01fc2c5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 18 Jan 2013 15:46:22 +0000 Subject: [PATCH] code layout clean up unit message test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11198 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/message_test.rb | 4 ++-- 1 file 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)