mirror of
https://github.com/redmine/redmine.git
synced 2026-03-15 09:00:50 +01:00
Merged r6098 from trunk.
Added Project#enable_module! and Project#disable_module! git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6104 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -32,7 +32,7 @@ class ApplicationControllerTest < ActionController::TestCase
|
||||
|
||||
# check that all language files are valid
|
||||
def test_localization
|
||||
lang_files_count = Dir["#{RAILS_ROOT}/config/locales/*.yml"].size
|
||||
lang_files_count = Dir["#{Rails.root}/config/locales/*.yml"].size
|
||||
assert_equal lang_files_count, valid_languages.size
|
||||
valid_languages.each do |lang|
|
||||
assert set_language_if_valid(lang)
|
||||
|
||||
Reference in New Issue
Block a user