code format cleanup MessagesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12623 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-11 07:46:29 +00:00
parent 20482fdee3
commit e30aa4b245
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ class MessagesControllerTest < ActionController::TestCase
message = Message.find(1) message = Message.find(1)
assert_difference 'Message.count', 30 do assert_difference 'Message.count', 30 do
30.times do 30.times do
message.children << Message.new(:subject => 'Reply', :content => 'Reply body', :author_id => 2, :board_id => 1) message.children << Message.new(:subject => 'Reply',
:content => 'Reply body',
:author_id => 2,
:board_id => 1)
end end
end end
get :show, :board_id => 1, :id => 1, :r => message.children.last(:order => 'id').id get :show, :board_id => 1, :id => 1, :r => message.children.last(:order => 'id').id