diff options
Diffstat (limited to 'test/unit/message_test.rb')
-rw-r--r-- | test/unit/message_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/message_test.rb b/test/unit/message_test.rb index ba4cbe048..8c764d346 100644 --- a/test/unit/message_test.rb +++ b/test/unit/message_test.rb @@ -115,7 +115,7 @@ class MessageTest < ActiveSupport::TestCase board.reload # Replies deleted - assert Message.find_all_by_parent_id(1).empty? + assert Message.where(:parent_id => 1).empty? # Checks counters assert_equal topics_count - 1, board.topics_count assert_equal messages_count - 3, board.messages_count |