Corrected the bugs from 4ce4cbb63e3e2be9d61b323d4f6a0bd556f3e516
commit43e18a403d9a2b34b80bc709bec5bc074a4f2ce6
authorGuillaume Maury <pm@gom-jabbar.org>
Sat, 13 Dec 2008 12:31:23 +0000 (13 20:31 +0800)
committerMaciej Piechotka <uzytkownik2@gmail.com>
Thu, 29 Jan 2009 14:11:07 +0000 (29 15:11 +0100)
tree795cb0cf6fa7550cd04e50507136747be201d3e4
parent169ede72eef7b74c53afc7bf0c77d1116ad47c19
Corrected the bugs from 4ce4cbb63e3e2be9d61b323d4f6a0bd556f3e516
Changed the spec to use mochs a bit less so as to catch bugs.
It's now mocking Merb::Global.config for setting the supported locales (closer to the situation outside of tests...)
lib/merb_global/controller.rb
lib/merb_global/locale.rb
spec/controller_spec.rb