]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/diary_entry_test.rb
Improve favicons
[rails.git] / test / models / diary_entry_test.rb
index ab5f45ff22b10165811fb393d2680ee64ab2b822..58e6513a642042069a4940a2686d3b82adac8634 100644 (file)
@@ -5,7 +5,7 @@ class DiaryEntryTest < ActiveSupport::TestCase
   fixtures :diary_entries, :diary_comments, :languages
 
   def test_diary_entry_count
   fixtures :diary_entries, :diary_comments, :languages
 
   def test_diary_entry_count
-    assert_equal 5, DiaryEntry.count
+    assert_equal 6, DiaryEntry.count
   end
 
   def test_diary_entry_validations
   end
 
   def test_diary_entry_validations
@@ -25,7 +25,7 @@ class DiaryEntryTest < ActiveSupport::TestCase
   end
 
   def test_diary_entry_visible
   end
 
   def test_diary_entry_visible
-    assert_equal 4, DiaryEntry.visible.count
+    assert_equal 5, DiaryEntry.visible.count
     assert_raise ActiveRecord::RecordNotFound do
       DiaryEntry.visible.find(diary_entries(:deleted_entry).id)
     end
     assert_raise ActiveRecord::RecordNotFound do
       DiaryEntry.visible.find(diary_entries(:deleted_entry).id)
     end