use set_language_if_valid instead of I18n.locale at unit group test (#9795)
Authored by: tmaruyama 2011-12-15
Parent: [r8234]
Child: [r8236]