From 4a524ff911edefeae8753669bb27000486741fbb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 24 May 2007 17:29:11 +0000 Subject: Dutch translation added (Linda van den Brink) git-svn-id: http://redmine.rubyforge.org/svn/trunk@539 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/application_controller_test.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb index 3dbeadb97..3a40b15a9 100644 --- a/test/functional/application_controller_test.rb +++ b/test/functional/application_controller_test.rb @@ -28,9 +28,10 @@ class ApplicationControllerTest < Test::Unit::TestCase @response = ActionController::TestResponse.new end - # check that all 6 supported languages are valid + # check that all language files are valid def test_localization - assert_equal 10, GLoc.valid_languages.size + lang_files_count = Dir["#{RAILS_ROOT}/lang/*.yml"].size + assert_equal lang_files_count, GLoc.valid_languages.size GLoc.valid_languages.each do |lang| assert set_language_if_valid(lang) end -- cgit v1.2.3