Commit a810ece96635a128bfacfa0c4a2cb7f55067f15a
1 parent
86c3b335
Exists in
master
and in
28 other branches
ActionItem181: support default_locale setting
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1452 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
6 additions
and
0 deletions
Show diff stats
lib/noosfero.rb
test/unit/noosfero_test.rb
... | ... | @@ -23,4 +23,9 @@ class NoosferoTest < Test::Unit::TestCase |
23 | 23 | assert_equal(/(block1|block2)/, Noosfero.pattern_for_controllers_from_design_blocks) |
24 | 24 | end |
25 | 25 | |
26 | + should 'support setting default locale' do | |
27 | + Noosfero.default_locale = 'pt_BR' | |
28 | + assert_equal 'pt_BR', Noosfero.default_locale | |
29 | + end | |
30 | + | |
26 | 31 | end | ... | ... |