Commit b2170c109a2e7458bed489a64147ef683ad3a450
1 parent
c46a2494
Exists in
master
and in
29 other branches
ActionItem373: fixing test for language chooser helper
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1953 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
test/unit/language_helper_test.rb
@@ -67,5 +67,13 @@ class LanguageHelperTest < Test::Unit::TestCase | @@ -67,5 +67,13 @@ class LanguageHelperTest < Test::Unit::TestCase | ||
67 | "<a href='?lang=#{opts[:lang]}'>#{text}</a>" | 67 | "<a href='?lang=#{opts[:lang]}'>#{text}</a>" |
68 | end | 68 | end |
69 | 69 | ||
70 | + def params | ||
71 | + {} | ||
72 | + end | ||
73 | + | ||
74 | + def url_for(x) | ||
75 | + x.inspect | ||
76 | + end | ||
77 | + | ||
70 | end | 78 | end |
71 | 79 |