]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/diary_comment_test.rb
Ensure :not_found status is returned, catching RecordNotFound doesn't work as isnt...
[rails.git] / test / unit / diary_comment_test.rb
index d7f30a69c5d3b518b00807f6e158fa18066f9b87..8e2bbf32c215cf177f5c375b850243404ecf5a5e 100644 (file)
@@ -1,9 +1,9 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class DiaryCommentTest < Test::Unit::TestCase
 require File.dirname(__FILE__) + '/../test_helper'
 
 class DiaryCommentTest < Test::Unit::TestCase
+  api_fixtures
   fixtures :diary_comments
   
   fixtures :diary_comments
   
-  
   def test_diary_comment_count
     assert_equal 1, DiaryComment.count
   end
   def test_diary_comment_count
     assert_equal 1, DiaryComment.count
   end