summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-06-23 20:17:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-06-23 20:17:47 +0000
commit72a396227ac59633da95542b4b1bd5d7f6bc0358 (patch)
treeabe4f5a1c9a1dff4d456a3648eac9d7ba589bf55 /test
parent2221d68c4d2c208f5aebc511988cc080a3b74cdf (diff)
downloadredmine-72a396227ac59633da95542b4b1bd5d7f6bc0358.tar.gz
redmine-72a396227ac59633da95542b4b1bd5d7f6bc0358.zip
Fixes default data loader broken by r2777 (#3507).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2792 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/default_data_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/default_data_test.rb b/test/unit/default_data_test.rb
index ae637ba39..457f885ee 100644
--- a/test/unit/default_data_test.rb
+++ b/test/unit/default_data_test.rb
@@ -38,6 +38,9 @@ class DefaultDataTest < Test::Unit::TestCase
IssueStatus.delete_all
Enumeration.delete_all
assert Redmine::DefaultData::Loader::load(lang)
+ assert_not_nil DocumentCategory.first
+ assert_not_nil IssuePriority.first
+ assert_not_nil TimeEntryActivity.first
rescue ActiveRecord::RecordInvalid => e
assert false, ":#{lang} default data is invalid (#{e.message})."
end