]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/diary_entry_test.rb
Work around upcoming minitest insanity
[rails.git] / test / models / diary_entry_test.rb
index 958ca403fc1ed6e1ff8da9f4dcd33d83b08befef..6c9a7544312aee0d4132c061c5abeea00f7d603d 100644 (file)
@@ -1,7 +1,12 @@
 require "test_helper"
 
 class DiaryEntryTest < ActiveSupport::TestCase
-  fixtures :users, :languages
+  fixtures :users
+
+  def setup
+    # Create the default language for diary entries
+    create(:language, :code => "en")
+  end
 
   def test_diary_entry_validations
     diary_entry_valid({})