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({})