]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/diary_comment_test.rb
Implement Array.forEach for browsers which don't have it
[rails.git] / test / unit / diary_comment_test.rb
index d7f30a69c5d3b518b00807f6e158fa18066f9b87..e4ac3d4225a31faa742d67fe3655784067cfa789 100644 (file)
@@ -1,11 +1,10 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
-class DiaryCommentTest < Test::Unit::TestCase
+class DiaryCommentTest < ActiveSupport::TestCase
+  api_fixtures
   fixtures :diary_comments
   
-  
   def test_diary_comment_count
-    assert_equal 1, DiaryComment.count
+    assert_equal 3, DiaryComment.count
   end
-  
 end