X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..edfbbf7336a38162b2d996ebca21918a5d6039a0:/test/models/diary_entry_test.rb?ds=sidebyside diff --git a/test/models/diary_entry_test.rb b/test/models/diary_entry_test.rb index ab5f45ff2..58e6513a6 100644 --- a/test/models/diary_entry_test.rb +++ b/test/models/diary_entry_test.rb @@ -5,7 +5,7 @@ class DiaryEntryTest < ActiveSupport::TestCase 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 @@ -25,7 +25,7 @@ class DiaryEntryTest < ActiveSupport::TestCase 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