diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb index a4dee170d..d6e7da9a8 100644 --- a/test/functional/messages_controller_test.rb +++ b/test/functional/messages_controller_test.rb @@ -48,7 +48,10 @@ class MessagesControllerTest < ActionController::TestCase message = Message.find(1) assert_difference 'Message.count', 30 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 get :show, :board_id => 1, :id => 1, :r => message.children.last(:order => 'id').id