public
Description: Globalization made easy with interface in place translations
Homepage: http://lucaguidi.com/projects/click-to-globalize
Clone URL: git://github.com/jodosha/click-to-globalize.git
Make sure Locale#load_configured_base_language is not performed in 'test' 
environment. This reverts commit b10bd091f4eb674f6fdc47f42ab16e4f2031265f
jodosha (author)
Mon Aug 11 07:09:42 -0700 2008
commit  ad8d471b460418379420f3a672edceae60187007
tree    ff60738527727c47d559a770bddfb41f5e288993
parent  b10bd091f4eb674f6fdc47f42ab16e4f2031265f
...
10
11
12
13
14
 
 
 
 
 
15
...
10
11
12
 
 
13
14
15
16
17
18
0
@@ -10,5 +10,8 @@ end
0
 Object.send :include, Globalize
0
 require 'click_to_globalize'
0
 
0
-Locale.load_configured_base_language
0
-raise NoBaseLanguageError if Locale.base_language.blank?
0
+# FIXME
0
+unless RAILS_ENV == 'test'
0
+  Locale.load_configured_base_language
0
+  raise NoBaseLanguageError if Locale.base_language.blank?
0
+end
0
\ No newline at end of file

Comments